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

ASF GitHub Bot commented on FLINK-1229:
---------------------------------------

Github user StephanEwen commented on a diff in the pull request:

    https://github.com/apache/flink/pull/291#discussion_r22725368
  
    --- Diff: 
flink-clients/src/main/java/org/apache/flink/client/web/JobSubmissionServlet.java
 ---
    @@ -146,10 +146,22 @@ protected void doGet(HttpServletRequest req, 
HttpServletResponse resp) throws Se
                        }
     
                        String assemblerClass = null;
    -                   if (params.size() >= 2 && 
params.get(0).equals("assembler")) {
    -                           assemblerClass = params.get(1);
    -                           params.remove(0);
    -                           params.remove(0);
    +                   int pos = 0;
    +                   int parallelism = -1;
    +                   while(pos < params.size()) {
    --- End diff --
    
    This should probably be `pos < params.size() - 1`


> Synchronize WebClient arguments with command line arguments
> -----------------------------------------------------------
>
>                 Key: FLINK-1229
>                 URL: https://issues.apache.org/jira/browse/FLINK-1229
>             Project: Flink
>          Issue Type: Improvement
>          Components: Webfrontend
>            Reporter: Timo Walther
>            Priority: Minor
>
> In the webclient, the -c option is not supported. The weblient takes the 
> command in the form {code}assembler org.apache.flink.WordCountJob{code}
> Should be consistent with the command line scripts.



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

Reply via email to