YARN-1570. Fixed formatting of the lines in YarnCommands.apt.vm docs source. Contributed by Akira Ajisaka.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1579797 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4f6397b4ac
commit
fd6df7675e
|
@ -323,6 +323,9 @@ Release 2.4.0 - UNRELEASED
|
||||||
YARN-1512. Enhanced CapacityScheduler to be able to decouple scheduling from
|
YARN-1512. Enhanced CapacityScheduler to be able to decouple scheduling from
|
||||||
node-heartbeats. (Arun C Murthy via vinodkv)
|
node-heartbeats. (Arun C Murthy via vinodkv)
|
||||||
|
|
||||||
|
YARN-1570. Fixed formatting of the lines in YarnCommands.apt.vm docs source.
|
||||||
|
(Akira Ajisaka via vinodkv)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
|
@ -24,20 +24,26 @@ Yarn Commands
|
||||||
|
|
||||||
* Overview
|
* Overview
|
||||||
|
|
||||||
Yarn commands are invoked by the bin/yarn script. Running the yarn script without any arguments prints the description for all commands.
|
Yarn commands are invoked by the bin/yarn script. Running the yarn script
|
||||||
|
without any arguments prints the description for all commands.
|
||||||
|
|
||||||
------
|
------
|
||||||
Usage: yarn [--config confdir] COMMAND
|
Usage: yarn [--config confdir] COMMAND
|
||||||
------
|
------
|
||||||
|
|
||||||
Yarn has an option parsing framework that employs parsing generic options as well as running classes.
|
Yarn has an option parsing framework that employs parsing generic options as
|
||||||
|
well as running classes.
|
||||||
|
|
||||||
*---------------+--------------+
|
*---------------+--------------+
|
||||||
|| COMMAND_OPTIONS || Description |
|
|| COMMAND_OPTIONS || Description |
|
||||||
*---------------+--------------+
|
*---------------+--------------+
|
||||||
| --config confdir | Overwrites the default Configuration directory. Default is $\{HADOOP_PREFIX\}/conf. |
|
| --config confdir | Overwrites the default Configuration directory. Default
|
||||||
|
| | is $\{HADOOP_PREFIX\}/conf.
|
||||||
*---------------+--------------+
|
*---------------+--------------+
|
||||||
| COMMAND COMMAND_OPTIONS | Various commands with their options are described in the following sections. The commands have been grouped into {{User Commands}} and {{Administration Commands}}. |
|
| COMMAND COMMAND_OPTIONS | Various commands with their options are described
|
||||||
|
| | in the following sections. The commands have been
|
||||||
|
| | grouped into {{User Commands}} and
|
||||||
|
| | {{Administration Commands}}.
|
||||||
*---------------+--------------+
|
*---------------+--------------+
|
||||||
|
|
||||||
* {User Commands}
|
* {User Commands}
|
||||||
|
@ -46,7 +52,8 @@ Usage: yarn [--config confdir] COMMAND
|
||||||
|
|
||||||
** jar
|
** jar
|
||||||
|
|
||||||
Runs a jar file. Users can bundle their Yarn code in a jar file and execute it using this command.
|
Runs a jar file. Users can bundle their Yarn code in a jar file and execute
|
||||||
|
it using this command.
|
||||||
|
|
||||||
-------
|
-------
|
||||||
Usage: yarn jar <jar> [mainClass] args...
|
Usage: yarn jar <jar> [mainClass] args...
|
||||||
|
@ -188,21 +195,27 @@ Usage: yarn [--config confdir] COMMAND
|
||||||
*---------------+--------------+
|
*---------------+--------------+
|
||||||
|| COMMAND_OPTIONS || Description |
|
|| COMMAND_OPTIONS || Description |
|
||||||
*---------------+--------------+
|
*---------------+--------------+
|
||||||
| -refreshQueues | Reload the queues' acls, states and scheduler specific properties. ResourceManager will reload the mapred-queues configuration file. |
|
| -refreshQueues | Reload the queues' acls, states and scheduler specific
|
||||||
|
| | properties. ResourceManager will reload the mapred-queues
|
||||||
|
| | configuration file.
|
||||||
*---------------+--------------+
|
*---------------+--------------+
|
||||||
| -refreshNodes | Refresh the hosts information at the ResourceManager. |
|
| -refreshNodes | Refresh the hosts information at the ResourceManager. |
|
||||||
*---------------+--------------+
|
*---------------+--------------+
|
||||||
| -refreshUserToGroupsMappings| Refresh user-to-groups mappings. |
|
| -refreshUserToGroupsMappings| Refresh user-to-groups mappings. |
|
||||||
*---------------+--------------+
|
*---------------+--------------+
|
||||||
| -refreshSuperUserGroupsConfiguration| Refresh superuser proxy groups mappings. |
|
| -refreshSuperUserGroupsConfiguration | Refresh superuser proxy groups
|
||||||
|
| | mappings.
|
||||||
*---------------+--------------+
|
*---------------+--------------+
|
||||||
| -refreshAdminAcls | Refresh acls for administration of ResourceManager |
|
| -refreshAdminAcls | Refresh acls for administration of ResourceManager |
|
||||||
*---------------+--------------+
|
*---------------+--------------+
|
||||||
| -refreshServiceAcl | Reload the service-level authorization policy file ResoureceManager will reload the authorization policy file. |
|
| -refreshServiceAcl | Reload the service-level authorization policy file
|
||||||
|
| | ResourceManager will reload the authorization policy
|
||||||
|
| | file.
|
||||||
*---------------+--------------+
|
*---------------+--------------+
|
||||||
| -getGroups [username] | Get groups the specified user belongs to.
|
| -getGroups [username] | Get groups the specified user belongs to.
|
||||||
*---------------+--------------+
|
*---------------+--------------+
|
||||||
| -help [cmd] | Displays help for the given command or all commands if none is specified. |
|
| -help [cmd] | Displays help for the given command or all commands if none is
|
||||||
|
| | specified.
|
||||||
*---------------+--------------+
|
*---------------+--------------+
|
||||||
| -transitionToActive \<serviceId\> | Transitions the service into Active
|
| -transitionToActive \<serviceId\> | Transitions the service into Active
|
||||||
| | state.
|
| | state.
|
||||||
|
@ -229,9 +242,13 @@ Usage: yarn [--config confdir] COMMAND
|
||||||
*---------------+--------------+
|
*---------------+--------------+
|
||||||
|| COMMAND_OPTIONS || Description |
|
|| COMMAND_OPTIONS || Description |
|
||||||
*---------------+--------------+
|
*---------------+--------------+
|
||||||
| -getlevel \<host:port\> \<name\> | Prints the log level of the daemon running at \<host:port\>. This command internally connects to http://\<host:port\>/logLevel?log=\<name\>
|
| -getlevel \<host:port\> \<name\> | Prints the log level of the daemon running
|
||||||
|
| | at \<host:port\>. This command internally connects to
|
||||||
|
| | http://\<host:port\>/logLevel?log=\<name\>
|
||||||
*---------------+--------------+
|
*---------------+--------------+
|
||||||
| -setlevel \<host:port\> \<name\> \<level\> | Sets the log level of the daemon running at \<host:port\>. This command internally connects to http://\<host:port\>/logLevel?log=\<name\>
|
| -setlevel \<host:port\> \<name\> \<level\> | Sets the log level of the daemon
|
||||||
|
| | running at \<host:port\>. This command internally connects to
|
||||||
|
| | http://\<host:port\>/logLevel?log=\<name\>
|
||||||
*---------------+--------------+
|
*---------------+--------------+
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue