Github user sachingoel0101 commented on the pull request:
https://github.com/apache/flink/pull/1449#issuecomment-163866658
Tested it out locally. Works well with `gulp watch` and custom web frontend
port.
A few things I noticed:
1. Job Manager's log and stdout are not accessible with CORS, since they're
served via `StaticFileServerHandler` which doesn't set CORS headers. This
however shouldn't be an issue. We need to have a better logs service anyway,
for both Job manager and task managers IMO.
2. At some point, we will remove the `GET /jobs/<job-id>/yarn-cancel`
method, which is only there due to a limitation of yarn. To this end, there
needs to be an `OPTIONS` handlers for the `DELETE` request to send CORS
response headers in the preflight phase.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS#Preflighted_requests.
Not for the foreseeable future though. :-')
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---