flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Moritz Schubotz (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (FLINK-1027) CLI "run" command does not support flags
Date Mon, 08 Sep 2014 11:59:28 GMT

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

Moritz Schubotz edited comment on FLINK-1027 at 9/8/14 11:58 AM:
-----------------------------------------------------------------

I think a good place to start looking at is 
  org.apache.flink.client.CliFrontend#run
I changed line 264 to
  line = parser.parse(RUN_OPTIONS, args, true);
this solved my problem



was (Author: physikerwelt):
I think a good place to start looking at is 
  org.apache.flink.client.CliFrontend#run
I changed line 264 to
  line = parser.parse(RUN_OPTIONS, args, false);
this solved my problem


> CLI "run" command does not support flags
> ----------------------------------------
>
>                 Key: FLINK-1027
>                 URL: https://issues.apache.org/jira/browse/FLINK-1027
>             Project: Flink
>          Issue Type: Bug
>          Components: JobManager
>    Affects Versions: 0.6-incubating
>            Reporter: Alexander Alexandrov
>            Assignee: Alexander Alexandrov
>            Priority: Trivial
>             Fix For: 0.7-incubating
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> When submitting a job from the CLI frontend, having flags as arguments is not possible.
I would like my jar to be able to parse optional arguments formatted as "-a" or "--argument",
e.g.
> flink run /path/to/logreg.jar --iterations 10 --alpha 0.2 /path/to/in /path/to/out
> If nobody objects I will submit a patch for that.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message