flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tillrohrmann <...@git.apache.org>
Subject [GitHub] flink pull request #5431: [FLINK-8608] [flip6] Implement MiniDispatcher for ...
Date Thu, 08 Feb 2018 15:48:06 GMT
GitHub user tillrohrmann opened a pull request:

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

    [FLINK-8608] [flip6] Implement MiniDispatcher for job mode

    ## What is the purpose of the change
    
    The MiniDispatcher is responsible for submitting the single job with which
    a job mode cluster is started. Once the job has completed and if the cluster
    has been started in detached mode, the MiniDispatcher will terminate.
    
    In order to reduce code duplication, the MiniDispatcher is a sub class of the
    Dispatcher which is started with a single job submitted job graph store.
    
    ## Brief change log
    
    - Introduce `SingleJobSubmittedJobGraphStore` for the `MiniDispatcher`
    - Refactored `JobClusterEntrypoint` and `SessionClusterEntrypoint` such that most of the
cluster component logic moved to `ClusterEntrypoint`
    - Renamed `JobMasterRestEndpoint` into `MiniDispatcherRestEndpoint`
    - Initialize `MiniDispatcher` with single job retrieved by the `JobClusterEntrypoint`
    - Terminate `MiniDispatcher` after job completion if the its execution mode is `detached`
    
    ## Verifying this change
    
    - Added `MiniDispatcherTest`
    - The tests of `MiniDispatcher` are also valid for the `MiniDispatcher`
    
    ## 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: (yes)
      - 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 implementMiniDispatcher

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

    https://github.com/apache/flink/pull/5431.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 #5431
    
----
commit db57b574b0a2bacfa5aa164082c1eeb8f5258ed8
Author: Till Rohrmann <trohrmann@...>
Date:   2018-02-08T13:34:54Z

    [FLINK-8608] [flip6] Implement MiniDispatcher for job mode
    
    The MiniDispatcher is responsible for submitting the single job with which
    a job mode cluster is started. Once the job has completed and if the cluster
    has been started in detached mode, the MiniDispatcher will terminate.
    
    In order to reduce code duplication, the MiniDispatcher is a sub class of the
    Dispatcher which is started with a single job submitted job graph store.

----


---

Mime
View raw message