hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jagadesh Kiran N (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-3195) [YARN]Missing uniformity In Yarn Queue CLI command
Date Mon, 16 Feb 2015 14:58:12 GMT

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

Jagadesh Kiran N commented on YARN-3195:
----------------------------------------

Hi Devaraj K, Thanks for your review ,please find my anlaysis below

Not considered the Yarn commands which are direct executables & doesnt require help. Ex
: ./yarn classpath xxx or ./yarn version

Please check below for inconsitency

*Help : present for these below commands*
./yarn container :-help is present & Displays help when run -help command 
./yarn rmadmin : -help is present & Displays help when run -help command 
./yarn application : -help is present & Displays help when run -help command
./yarn applicationattempt :-help is present & & Displays help when run -help command
./yarn queue : -help is present & Displays help when run this command


*Help :Not present for these below commands*

./yarn :-help is missing     ./yarn -help : Displays the help
./yarn node : -help is missing ,./yarn node -help throws exception Unrecognized option: -help
./yarn logs : -help is not present ,./yarn logs  -help :Displays the help
./yarn deamonlog :-help is not present ,./yarn deamonlog -help :Displays the help
                          * For these Not present areas i want to add help ,please check and
confirm so that i can go a head *

> [YARN]Missing uniformity  In Yarn Queue CLI command
> ---------------------------------------------------
>
>                 Key: YARN-3195
>                 URL: https://issues.apache.org/jira/browse/YARN-3195
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 2.6.0
>         Environment: SUSE Linux SP3
>            Reporter: Jagadesh Kiran N
>            Assignee: Jagadesh Kiran N
>            Priority: Minor
>             Fix For: 2.7.0
>
>         Attachments: Helptobe removed in Queue.png, YARN-3195.patch, YARN-3195.patch
>
>
> Help is generic command should not be placed here because of this uniformity is missing
compared to other commands.Remove -help command inside ./yarn queue as uniformity with respect
to other commands 
> {code}
> SO486LDPag65:/home/OpenSource/HA/install/hadoop/resourcemanager/bin # ./yarn queue -help
> 15/02/13 19:30:20 WARN util.NativeCodeLoader: Unable to load native-hadoop library for
your platform... using builtin-java classes where applicable
> usage: queue
> * -help                  Displays help for all commands.*
>  -status <Queue Name>   List queue information about given queue.
> SO486LDPag65:/home/OpenSource/HA/install/hadoop/resourcemanager/bin # ./yarn queue
> 15/02/13 19:33:14 WARN util.NativeCodeLoader: Unable to load native-hadoop library for
your platform... using builtin-java classes where applicable
> Invalid Command Usage :
> usage: queue
> * -help                  Displays help for all commands.*
>  -status <Queue Name>   List queue information about given queue.
> {code}
> * -help                  Displays help for all commands.*



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

Mime
View raw message