[ https://issues.apache.org/jira/browse/FLINK-7110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16076759#comment-16076759 ]
ASF GitHub Bot commented on FLINK-7110: --------------------------------------- Github user zentol commented on a diff in the pull request: https://github.com/apache/flink/pull/4270#discussion_r125935645 --- 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 -- for consistency shouldn't we add `throws UnsupportedOperationException`? > 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)