flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "liuzq (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLINK-10057) optimalize org.apache.flink.yarn.cli.FlinkYarnSessionCli.isYarnPropertiesFileMode
Date Sat, 04 Aug 2018 15:31:00 GMT

     [ https://issues.apache.org/jira/browse/FLINK-10057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

liuzq updated FLINK-10057:
--------------------------
    Affects Version/s:     (was: 1.6.0)

> optimalize org.apache.flink.yarn.cli.FlinkYarnSessionCli.isYarnPropertiesFileMode
> ---------------------------------------------------------------------------------
>
>                 Key: FLINK-10057
>                 URL: https://issues.apache.org/jira/browse/FLINK-10057
>             Project: Flink
>          Issue Type: Improvement
>          Components: Client
>    Affects Versions: 1.5.2
>            Reporter: liuzq
>            Priority: Major
>
> --------------in function : org.apache.flink.yarn.cli.FlinkYarnSessionCli.isYarnPropertiesFileMode
> private boolean isYarnPropertiesFileMode(CommandLine commandLine) {
>  boolean canApplyYarnProperties = !commandLine.hasOption(addressOption.getOpt());
> *//if canApplyYarnProperties is false,return quickly !*
> //this code is added by me
>  *if(false==canApplyYarnProperties){*
>        *return canApplyYarnProperties;*
>  *}*
> for (Option option : commandLine.getOptions()) {
>  if (allOptions.hasOption(option.getOpt())) {
>  if (!isDetachedOption(option)) {
> ...
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message