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

Carlo Curino commented on YARN-6608:
------------------------------------

[~wangda] thanks for the proposed fix. 

In the version of the slsrun.sh you posted the newer --tracetype 
--tracelocation format 
cannot be used as the cli breaks if you don't specific inputrumen (or 
inputsls). 
Can you see how to make it optional?  (I am not familiar with the cli parsing 
code)

{code}
ccurino@ccurino-heka-ubuntu:~/SLS-EXPERIMENTS$ slsrun.sh --tracetype=RUMEN 
--tracelocation=~/syn.json --output-dir=/tmp
Exception in thread "main" org.apache.commons.cli.MissingArgumentException: 
Missing argument for option: inputrumen
        at org.apache.commons.cli.Parser.processArgs(Parser.java:343)
        at org.apache.commons.cli.Parser.processOption(Parser.java:393)
        at org.apache.commons.cli.Parser.parse(Parser.java:199)
        at org.apache.commons.cli.Parser.parse(Parser.java:85)
        at org.apache.hadoop.yarn.sls.SLSRunner.run(SLSRunner.java:852)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
        at org.apache.hadoop.yarn.sls.SLSRunner.main(SLSRunner.java:920)
{code}

> Backport all SLS improvements from trunk to branch-2
> ----------------------------------------------------
>
>                 Key: YARN-6608
>                 URL: https://issues.apache.org/jira/browse/YARN-6608
>             Project: Hadoop YARN
>          Issue Type: Improvement
>    Affects Versions: 2.9.0
>            Reporter: Carlo Curino
>            Assignee: Carlo Curino
>         Attachments: YARN-6608-branch-2.v0.patch, 
> YARN-6608-branch-2.v1.patch, YARN-6608-branch-2.v2.patch, 
> YARN-6608-branch-2.v3.patch, YARN-6608-branch-2.v4.patch, 
> YARN-6608-branch-2.v5.patch, YARN-6608-branch-2.v6.patch, 
> YARN-6608-branch-2.v7.patch, YARN-6608-branch-2.v8.patch
>
>
> The SLS has received lots of attention in trunk, but only some of it made it 
> back to branch-2. This patch is a "raw" fork-lift of the trunk development 
> from hadoop-tools/hadoop-sls.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to