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

Jian He commented on HADOOP-9902:
---------------------------------

[~aw], thanks for rewriting the script. I tried a couple of yarn commands and 
found a couple of issues.
1. yarn command usage info seems broken. e.g. "yarn application" command 
earlier was printing command usage info. Now, it's throwing exception.
{code}
WARN util.NativeCodeLoader: Unable to load native-hadoop library for your 
platform... using builtin-java classes where applicable
Invalid Command Usage : 
Exception in thread "main" java.lang.IllegalArgumentException: cmdLineSyntax 
not provided
        at 
org.apache.commons.cli.HelpFormatter.printHelp(HelpFormatter.java:472)
        at 
org.apache.commons.cli.HelpFormatter.printHelp(HelpFormatter.java:418)
        at 
org.apache.commons.cli.HelpFormatter.printHelp(HelpFormatter.java:334)
        at 
org.apache.hadoop.yarn.client.cli.ApplicationCLI.printUsage(ApplicationCLI.java:246)
        at 
org.apache.hadoop.yarn.client.cli.ApplicationCLI.run(ApplicationCLI.java:234)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
        at 
org.apache.hadoop.yarn.client.cli.ApplicationCLI.main(ApplicationCLI.java:76)
{code}
2. Starting/stopping yarn daemon doesn't print anything any more. Earlier it 
was printing something like "starting resource manager..", which I think is 
useful.

Also, typically for changes big as such, we should open separate jiras in 
YARN/MR to track YARN/MR side changes, so that it draws enough attention in 
YARN/MR community as well.

> Shell script rewrite
> --------------------
>
>                 Key: HADOOP-9902
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9902
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: scripts
>    Affects Versions: 3.0.0
>            Reporter: Allen Wittenauer
>            Assignee: Allen Wittenauer
>              Labels: releasenotes
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-9902-10.patch, HADOOP-9902-11.patch, 
> HADOOP-9902-12.patch, HADOOP-9902-13-branch-2.patch, HADOOP-9902-13.patch, 
> HADOOP-9902-14.patch, HADOOP-9902-15.patch, HADOOP-9902-16.patch, 
> HADOOP-9902-2.patch, HADOOP-9902-3.patch, HADOOP-9902-4.patch, 
> HADOOP-9902-5.patch, HADOOP-9902-6.patch, HADOOP-9902-7.patch, 
> HADOOP-9902-8.patch, HADOOP-9902-9.patch, HADOOP-9902.patch, HADOOP-9902.txt, 
> hadoop-9902-1.patch, more-info.txt
>
>
> Umbrella JIRA for shell script rewrite.  See more-info.txt for more details.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to