You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Kostas Kloudas (Jira)" <ji...@apache.org> on 2020/03/17 19:06:00 UTC

[jira] [Commented] (FLINK-15852) Job is submitted to the wrong session cluster

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

Kostas Kloudas commented on FLINK-15852:
----------------------------------------

I will fix this by simply changing the custom command line prioritisation and checking first the {{ExecutorCLI}} and then the {{FlinkYarnSessionCLI}}. This actually makes sense, as the {{ExecutorCLI}} requires explicit action by the user ({{-e}}) so it cannot be activated "by accident". I will submit a PR soon.

> Job is submitted to the wrong session cluster
> ---------------------------------------------
>
>                 Key: FLINK-15852
>                 URL: https://issues.apache.org/jira/browse/FLINK-15852
>             Project: Flink
>          Issue Type: Bug
>          Components: Command Line Client
>    Affects Versions: 1.10.0
>            Reporter: Canbin Zheng
>            Assignee: Kostas Kloudas
>            Priority: Critical
>             Fix For: 1.10.1, 1.11.0
>
>
> Steps to reproduce the problem:
>  # Deploy a YARN session cluster by command {{./bin/yarn-session.sh -d}}
>  # Deploy a Kubernetes session cluster by command {{./bin/kubernetes-session.sh -Dkubernetes.cluster-id=test ...}}
>  # Try to submit a Job to the Kubernetes session cluster by command {{./bin/flink run -d -e kubernetes-session -Dkubernetes.cluster-id=test examples/streaming/WordCount.jar}}
> It's expected that the Job will be submitted to the Kubernetes session cluster whose cluster-id is *test*, however, the job was submitted to the YARN session cluster.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)