[
https://issues.apache.org/jira/browse/FLINK-8028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16243975#comment-16243975
]
ASF GitHub Bot commented on FLINK-8028:
---------------------------------------
GitHub user tillrohrmann opened a pull request:
https://github.com/apache/flink/pull/4986
[FLINK-8028] Let JobMaster implement RestfulGateway
## What is the purpose of the change
This commit lets the JobMaster implement the RestfulGateway. That way,
the JobMaster can be used in combination with the existing REST handlers.
## Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): (no)
- The public API, i.e., is any changed class annotated with
`@Public(Evolving)`: (no)
- The serializers: (no)
- The runtime per-record code paths (performance sensitive): (no)
- Anything that affects deployment or recovery: JobManager (and its
components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
- The S3 file system connector: (no)
## Documentation
- Does this pull request introduce a new feature? (no)
- If yes, how is the feature documented? (not applicable)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tillrohrmann/flink jobMasterGatewayGoesRestful
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/4986.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #4986
----
commit 18d8d1af433715a24c2d2e354d8dcf2efb30c49d
Author: Till Rohrmann <[email protected]>
Date: 2017-11-04T13:56:11Z
[FLINK-8000] Sort Rest handler URLS in RestServerEndpoint
Introduce special RestHandlerUrlComparator to sort REST URLs such that
URLs with path parameters are sorted after those without or fewer.
E.g. the following order would be established
/jobs
/jobs/overview
/jobs/:jobid
/jobs/:jobid/config
/:*
commit bdc5d0eaf803475eb9fc550be3ab59cd176c2894
Author: Till Rohrmann <[email protected]>
Date: 2017-11-06T17:48:53Z
[FLINK-8024] Let ClusterOverviewHandler directly extend from
AbstractRestHandler
commit 2ddfa4e57b03fa3e42d60ae8da7b4bbc6b24e777
Author: Till Rohrmann <[email protected]>
Date: 2017-11-06T17:56:01Z
[FLINK-8025] Let DashboardConfigHandler directly extend AbstractRestHandler
commit 03651e6cd66fc173a6758e884e6b9bfdbba3dfcb
Author: Till Rohrmann <[email protected]>
Date: 2017-11-07T09:56:33Z
[FLINK-8026] Let ClusterConfigHandler directly extend AbstractRestHandler
commit 16ec9f41ab26cc8a4f11bbc9ab6c7eb46ad4c8d8
Author: Till Rohrmann <[email protected]>
Date: 2017-11-07T10:04:10Z
[FLINK-8027] Generalize existing rest handlers to work with an arbitrary
RestfulGateway
By letting the existing REST handlers work with an arbitrary RestfulGateway,
they can be used by the Dispatcher as well as the JobMaster, once it
implements
the RestfulGateway.
commit b99f8b83c1331d2e5f5d8fb855a9889364fc4118
Author: Till Rohrmann <[email protected]>
Date: 2017-11-07T10:08:40Z
[hotfix] Rename RestfulGateway#requestJobDetails into
requestMultipleJobDetails to avoid name conflicts with JobMasterGateway
commit f1e4f4cbc5038272e16601634b844145dfd2a095
Author: Till Rohrmann <[email protected]>
Date: 2017-11-07T13:59:28Z
[hotfix] Pass in Rest address to Dispatcher as nullable String
commit b4d402351465526acfd4aa63f4774c7421eb8515
Author: Till Rohrmann <[email protected]>
Date: 2017-11-07T13:37:06Z
[FLINK-8028] Let JobMaster implement RestfulGateway
This commit lets the JobMaster implement the RestfulGateway. That way,
the JobMaster can be used in combination with the existing REST handlers.
----
> Let JobMaster impelment RestfulGateway
> --------------------------------------
>
> Key: FLINK-8028
> URL: https://issues.apache.org/jira/browse/FLINK-8028
> Project: Flink
> Issue Type: Sub-task
> Components: REST
> Affects Versions: 1.5.0
> Reporter: Till Rohrmann
> Assignee: Till Rohrmann
> Labels: flip-6
> Fix For: 1.5.0
>
>
> In order to use the {{JobMaster}} with the REST handlers, the {{JobMaster}}
> has to implement the {{RestfulGateway}}.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)