[jira] [Commented] (FLINK-8612) Add non-detached job mode

2018-02-17 Thread ASF GitHub Bot (JIRA)

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

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

Github user asfgit closed the pull request at:

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


> Add non-detached job mode
> -
>
> Key: FLINK-8612
> URL: https://issues.apache.org/jira/browse/FLINK-8612
> Project: Flink
>  Issue Type: Improvement
>  Components: Distributed Coordination
>Affects Versions: 1.5.0
>Reporter: Till Rohrmann
>Assignee: Till Rohrmann
>Priority: Major
>  Labels: flip-6
> Fix For: 1.5.0
>
>
> In order to support the non-detached job mode, the {{MiniDispatcher}} has to 
> wait until it has served the {{JobResult}} of a completed job at least once 
> before it terminates.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (FLINK-8612) Add non-detached job mode

2018-02-15 Thread ASF GitHub Bot (JIRA)

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

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

Github user tillrohrmann commented on the issue:

https://github.com/apache/flink/pull/5435
  
Rebased onto the soon to be master.


> Add non-detached job mode
> -
>
> Key: FLINK-8612
> URL: https://issues.apache.org/jira/browse/FLINK-8612
> Project: Flink
>  Issue Type: Improvement
>  Components: Distributed Coordination
>Affects Versions: 1.5.0
>Reporter: Till Rohrmann
>Assignee: Till Rohrmann
>Priority: Major
>  Labels: flip-6
> Fix For: 1.5.0
>
>
> In order to support the non-detached job mode, the {{MiniDispatcher}} has to 
> wait until it has served the {{JobResult}} of a completed job at least once 
> before it terminates.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (FLINK-8612) Add non-detached job mode

2018-02-08 Thread ASF GitHub Bot (JIRA)

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

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

GitHub user tillrohrmann opened a pull request:

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

[FLINK-8612] [flip6] Enable non-detached job mode

## What is the purpose of the change

The non-detached job mode waits until has served the JobResult of
a completed job at least once before it terminates.

This PR is based on #5434 and #5433.

## Verifying this change

- Added `MiniDispatcherTest#testJobResultRetrieval`

## 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 addNormalJobMode

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

https://github.com/apache/flink/pull/5435.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 #5435


commit db57b574b0a2bacfa5aa164082c1eeb8f5258ed8
Author: Till Rohrmann 
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.

commit d9af78da8eec870eb8fcce140ce13b2c06ca4e5d
Author: Till Rohrmann 
Date:   2018-02-07T13:12:54Z

[hotfix] Fix checkstyle violations in JobExecutionResult

commit 3c414687bc73229f045d861d57da3843ca470469
Author: Till Rohrmann 
Date:   2018-02-07T13:56:45Z

[FLINK-8611] [flip6] Add result future to JobManagerRunner

This commit adds a CompletableFuture to the
JobManagerRunner. This future will be completed once the job has
reached a globally terminal state.

commit a9af6165cdee7d8e8dcf503d160ad5f1330a0076
Author: Till Rohrmann 
Date:   2018-02-07T10:09:34Z

[FLINK-8610] [flip6] Remove RestfulGateway from JobMasterGateway

The JobMaster no longer needs to implement the RestfulGateway. Therefore,
it is removed by this commit.

commit bcd803845976147d5c13b0b92f196346d6412c58
Author: Till Rohrmann 
Date:   2018-02-08T13:51:25Z

[FLINK-8612] [flip6] Enable non-detached job mode

The non-detached job mode waits until has served the JobResult of
a completed job at least once before it terminates.




> Add non-detached job mode
> -
>
> Key: FLINK-8612
> URL: https://issues.apache.org/jira/browse/FLINK-8612
> Project: Flink
>  Issue Type: Improvement
>  Components: Distributed Coordination
>Affects Versions: 1.5.0
>Reporter: Till Rohrmann
>Assignee: Till Rohrmann
>Priority: Major
>  Labels: flip-6
> Fix For: 1.5.0
>
>
> In order to support the non-detached job mode, the {{MiniDispatcher}} has to 
> wait until it has served the {{JobResult}} of a completed job at least once 
> before it terminates.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)