[ https://issues.apache.org/jira/browse/FLINK-7110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16076767#comment-16076767 ]
ASF GitHub Bot commented on FLINK-7110: --------------------------------------- Github user tillrohrmann commented on a diff in the pull request: https://github.com/apache/flink/pull/4270#discussion_r125937353 --- Diff: flink-clients/src/main/java/org/apache/flink/client/deployment/ClusterDescriptor.java --- @@ -44,5 +45,12 @@ * @return Client for the cluster * @throws UnsupportedOperationException if this cluster descriptor doesn't support the operation */ - ClientType deploy() throws UnsupportedOperationException; + ClientType deploySession() throws UnsupportedOperationException; + + /** + * Deploys a per-job cluster with the given job on the cluster. + * + * @return Cluster client to talk to the Flink cluster + */ + ClientType deployJob(final JobGraph jobGraph); --- End diff -- I actually think that we should replace the unchecked exception by a checked exception. I will introduce one for this method. Changing the exception of `deploySession` is a follow up, then. > Allow ClusterDescriptor to deploy per-job cluster > ------------------------------------------------- > > Key: FLINK-7110 > URL: https://issues.apache.org/jira/browse/FLINK-7110 > Project: Flink > Issue Type: Sub-task > Components: Cluster Management > Reporter: Till Rohrmann > Assignee: Till Rohrmann > Fix For: 1.4.0 > > > The {{ClusterDescriptor's}} interface has to be improved to support deploying > a per-job cluster where you directly provide the {{JobGraph}}. -- This message was sent by Atlassian JIRA (v6.4.14#64029)