You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/09/27 16:29:00 UTC

[jira] [Commented] (FLINK-7695) Port JobConfigHandler to new REST endpoint

    [ https://issues.apache.org/jira/browse/FLINK-7695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16182844#comment-16182844 ] 

ASF GitHub Bot commented on FLINK-7695:
---------------------------------------

GitHub user tillrohrmann opened a pull request:

    https://github.com/apache/flink/pull/4737

    [FLINK-7695] [flip6] Add JobConfigHandler for new RestServerEndpoint

    ## What is the purpose of the change
    
    Add `JobConfigHandler` for the new `RestServerEndpoint`.
    
    ## Verifying this change
    
    This change added tests and can be verified as follows:
    
    - JSON marshalling is tested via `JobConfigInfoTest`
    
    ## 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)
    
    ## 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 portJobConfigHandler

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/4737.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 #4737
    
----
commit 3aa313561ee238b9074d58024516ebffeafbe3ed
Author: Till Rohrmann <tr...@apache.org>
Date:   2017-09-21T08:53:24Z

    [FLINK-7650] [flip6] Port JobCancellationHandler to new REST endpoint
    
    Let the JobCancellationHandler implement the LegacyRestHandler interface. Moreover,
    this commit adds the DELETE method to HttpMethodWrapper and the
    RestServerEndpoint#registerHandler method.
    
    Add PATCH method
    
    This closes #4697.

commit 1fa13dc89ffebd2b3f286ce4cb9cf4ac5350bc79
Author: Till Rohrmann <tr...@apache.org>
Date:   2017-09-21T14:47:18Z

    [FLINK-7649] [flip6] Extend JobTerminationHandler to support stop
    
    Rename the JobCancellationHandler into JobTerminationHandler which is now responsible
    for terminating jobs. Moreover, this commits adds two termination modes, cancel and stop,
    which are specified by providing a query parameter.
    
    This closes #4700.

commit 82eeeb95a943ccf71692f0b228027b0163d19def
Author: Till Rohrmann <tr...@apache.org>
Date:   2017-09-22T11:31:12Z

    [FLINK-7667] [flip6] Use ArchivedExecutionGraph as serializable AccessExecutionGraph
    
    This commit removes AccessExecutionGraph#getCheckpointCoordinator and changes the
    AccessExecutionGraph#getJobCheckpointSettings into #getJobCheckpointConfiguration.
    The JobCheckpointConfiguration only contains the CheckpointCoordinator relevant
    configuration settings and excludes the serialized state backend and the
    serialized master hooks. That way we don't send unnecessary information when
    the ArchivedExecutionGraph is requested.
    
    This closes #4727.

commit 67ed81f7d1cc7e1e150bc2abd9f037e75a05b8ff
Author: Till Rohrmann <tr...@apache.org>
Date:   2017-09-25T13:29:59Z

    [FLINK-7668] Add ExecutionGraphCache for ExecutionGraph based REST handlers
    
    The ExecutionGraphCache replaces the ExecutionGraphHolder. Unlike the latter, the former
    does not expect the AccessExecutionGraph to be the true ExecutionGraph. Instead it assumes
    it to be the ArchivedExecutionGraph. Therefore, it invalidates the cache entries after
    a given time to live period. This will trigger requesting the AccessExecutionGraph again
    and, thus, updating the ExecutionGraph information for the ExecutionGraph based REST
    handlers.
    
    In order to avoid memory leaks, the WebRuntimeMonitor starts now a periodic cleanup task
    which triggers ExecutionGraphCache.cleanup. This methods releases all cache entries which
    have exceeded their time to live. Currently it is set to 20 * refreshInterval of the
    web gui.
    
    This closes #4728.

commit 6409de0441d1fd2d3321d6d0eb05db51d91027ea
Author: Till Rohrmann <tr...@apache.org>
Date:   2017-09-26T16:39:15Z

    [FLINK-7695] [flip6] Add JobConfigHandler for new RestServerEndpoint

----


> Port JobConfigHandler to new REST endpoint
> ------------------------------------------
>
>                 Key: FLINK-7695
>                 URL: https://issues.apache.org/jira/browse/FLINK-7695
>             Project: Flink
>          Issue Type: Sub-task
>          Components: REST
>    Affects Versions: 1.4.0
>            Reporter: Till Rohrmann
>            Assignee: Till Rohrmann
>            Priority: Minor
>              Labels: flip-6
>
> Port the {{JobConfigHandler}} to the new {{RestServerEndpoint}}.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)