Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
As rohithsharma raised point in MAPRED-6291
It would be good if usage command are in consistent like below.
Usage: Yarn <command> <sub-command> <args>
hdfs@host131:/hadoop/bin> ./yarn logs
Retrieve logs for completed YARN applications.
usage: yarn logs -applicationId <application ID> [OPTIONS]
general options are:
-appOwner <Application Owner> AppOwner (assumed to be current user if
not specified)
-containerId <Container ID> ContainerId (must be specified if node
address is specified)
-nodeAddress <Node Address> NodeAddress in the format nodename:port
(must be specified if container id is
specified)
Here Different Format
hdfs@host131:/opt/hadoop/bin> ./yarn queue
15/03/26 00:13:06 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.
Same for mapred also....Please correct me If I am wrong