You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Flink Jira Bot (Jira)" <ji...@apache.org> on 2022/01/04 10:40:00 UTC
[jira] [Updated] (FLINK-6202) YarnSessionCli couldn't submit jobs when using -z option
[ https://issues.apache.org/jira/browse/FLINK-6202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Flink Jira Bot updated FLINK-6202:
----------------------------------
Labels: auto-deprioritized-major auto-deprioritized-minor (was: auto-deprioritized-major stale-minor)
Priority: Not a Priority (was: Minor)
This issue was labeled "stale-minor" 7 days ago and has not received any updates so it is being deprioritized. If this ticket is actually Minor, please raise the priority and ask a committer to assign you the issue or revive the public discussion.
> YarnSessionCli couldn't submit jobs when using -z option
> --------------------------------------------------------
>
> Key: FLINK-6202
> URL: https://issues.apache.org/jira/browse/FLINK-6202
> Project: Flink
> Issue Type: Bug
> Components: Command Line Client
> Affects Versions: 1.2.0
> Reporter: Syinchwun Leo
> Priority: Not a Priority
> Labels: auto-deprioritized-major, auto-deprioritized-minor
>
> (1)When using the following command:
> bin/yarn-session.sh -n 3 -z YARN1
> to point out zookeeper namespace and then using bin/flink run to submit a job like this:
> bin/flink run examples/streaming/WindowJoin.jar
> the job could not find the JobManager.
> when using "flink run" and detect there is a properites file existing, user gets a FlinkYarnSessionCli, and when "retrieveCluster()" using FlinkYarnSessionCi, zkNamespace is set value accroding to "yz" option or application ID. If user doesn't using -yz, zkNamespace is set to application ID, and there is no information in Zookeeper under the fold "application ID"(already set according to -z in yarn-session.sh).
> (2)But when using -yz, FlinkYarnSessionCli's isActive() will return false because of loadYarnPropertiesFile() method seems to only allow using DETACHED option. User will get a standlone client
> (3)When using -z, FlinkYarnSessionCli will not recognize the option because that CliFrontend has already set FlinkYarnsessionCli's shortPrefix to "y" and only recognizes "-y*" options
--
This message was sent by Atlassian Jira
(v8.20.1#820001)