Author: vinodkv
Date: Thu Mar 20 22:14:15 2014
New Revision: 1579797
URL: http://svn.apache.org/r1579797
Log:
YARN-1570. Fixed formatting of the lines in YarnCommands.apt.vm docs source.
Contributed by Akira Ajisaka.
Modified:
hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt
hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/YarnCommands.apt.vm
Modified: hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt?rev=1579797&r1=1579796&r2=1579797&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt (original)
+++ hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt Thu Mar 20 22:14:15 2014
@@ -323,6 +323,9 @@ Release 2.4.0 - UNRELEASED
YARN-1512. Enhanced CapacityScheduler to be able to decouple scheduling
from
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
BUG FIXES
Modified:
hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/YarnCommands.apt.vm
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/YarnCommands.apt.vm?rev=1579797&r1=1579796&r2=1579797&view=diff
==============================================================================
---
hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/YarnCommands.apt.vm
(original)
+++
hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/YarnCommands.apt.vm
Thu Mar 20 22:14:15 2014
@@ -24,20 +24,26 @@ Yarn Commands
* 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
------
- 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 |
*---------------+--------------+
-| --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}
@@ -46,7 +52,8 @@ Usage: yarn [--config confdir] COMMAND
** 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...
@@ -188,21 +195,27 @@ Usage: yarn [--config confdir] COMMAND
*---------------+--------------+
|| 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. |
*---------------+--------------+
| -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 |
*---------------+--------------+
-| -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.
*---------------+--------------+
-| -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
| | state.
@@ -229,9 +242,13 @@ Usage: yarn [--config confdir] COMMAND
*---------------+--------------+
|| 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\>
-*---------------+--------------+
-| -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\>
+| -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\>
*---------------+--------------+