Skip to content

Conversation

@tillrohrmann
Copy link
Contributor

What is the purpose of the change

This commit introduces a JobMasterConfiguration which contains JobMaster specific
configuration settings.

This PR is based on #5475.

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)

@tillrohrmann tillrohrmann force-pushed the introduceJobMasterConfiguration branch 3 times, most recently from 2426d1c to 9924776 Compare February 14, 2018 11:11
// double check to resolve race conditions
if(consumerVertex.getExecutionState() == RUNNING){
if (consumerVertex.getExecutionState() == RUNNING){
consumerVertex.sendPartitionInfos();
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems missing a space after if statement.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch @zhangminglei. Will fix it.

tillrohrmann and others added 15 commits February 15, 2018 08:44
Let all Yarn entry points use the YarnConfigOptions.APPLICATION_MASTER_PORT option
to specify the valid port range for the common RpcService.

This closes apache#5388.
…n result retrieval

Split RestClusterClient#submitJob into submitJob and requestJobResult which can
be called individually.

This closes apache#5428.
Register the JobTerminationHandler at the WebMonitorEndpoint to make it accessible to
all REST endpoints.

This closes apache#5429.
In order to support the job cancellation from the web UI, including when using
Yarn, we have to register the JobTerminationHandler under /jobs/:jobid/yarn-cancel
and /jobs/:jobid/yarn-stop. This is just a temporary fix until we can send
arbitrary REST verbs through the Yarn proxy.

This closes apache#5430.
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.

This closes apache#5431.
This commit allows to deploy detached job mode clusters via the
CliFrontend. In order to do that, it first extracts the JobGraph
from the PackagedProgram and then uses the ClusterDescriptor to
deploy the job mode cluster.

This closes apache#5432.
Upon notification of newly allocated containers, the YarnResourceManager
will only accept as many containers as there are pending container requests.
All excess containers will be returned.

This closes apache#5436.
…luster

This commit makes the RestClusterClient aware whether the user wishes to submit
a job in detached or non-detached mode. If it is detached, then the RestClusterClient
won't poll for the execution result.

This closes apache#5466.
Shutting AkkaRpcActors down with Kill can result in uncompleted futures, if
the mailbox contains requests which will be dropped. Therefore, it is better
to stop AkkaRpcActors with a PoisonPill which assures that all messages before
the pill will be processed.

This closes apache#5476.
…ecutionGraph

This commit changes the initialization of the ExecutionGraph to use the
JobManagerOptions#SLOT_REQUEST_TIMEOUT for the slot allocation. Furthermore,
it changes the behaviour of the SlotPool#ProviderAndOwner implementation such
that the timeout is given to it via the SlotProvider#allocateSlot call.

This closes apache#5475.
This commit introduces a JobMasterConfiguration which contains JobMaster specific
configuration settings.

This closes apache#5478.
@tillrohrmann tillrohrmann force-pushed the introduceJobMasterConfiguration branch from 9bbe333 to 4311b85 Compare February 15, 2018 09:59
@tillrohrmann
Copy link
Contributor Author

Thanks for the review @zhangminglei. Merging this PR.

tillrohrmann added a commit to tillrohrmann/flink that referenced this pull request Feb 15, 2018
This commit introduces a JobMasterConfiguration which contains JobMaster specific
configuration settings.

This closes apache#5478.
@tillrohrmann tillrohrmann deleted the introduceJobMasterConfiguration branch February 15, 2018 16:40
asfgit pushed a commit that referenced this pull request Feb 15, 2018
This commit introduces a JobMasterConfiguration which contains JobMaster specific
configuration settings.

This closes #5478.
zentol pushed a commit to zentol/flink that referenced this pull request Mar 21, 2018
zentol pushed a commit to zentol/flink that referenced this pull request Mar 21, 2018
zentol pushed a commit to zentol/flink that referenced this pull request Mar 21, 2018
zentol pushed a commit to zentol/flink that referenced this pull request Mar 21, 2018
zentol pushed a commit to zentol/flink that referenced this pull request Mar 21, 2018
sampathBhat pushed a commit to sampathBhat/flink that referenced this pull request Jul 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants