Skip to content

Commit 5578b43

Browse files
committed
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
1 parent 7c4e863 commit 5578b43

File tree

2 files changed

+31
-11
lines changed

2 files changed

+31
-11
lines changed

hadoop-yarn-project/CHANGES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,9 @@ Release 2.4.0 - UNRELEASED
323323
YARN-1512. Enhanced CapacityScheduler to be able to decouple scheduling from
324324
node-heartbeats. (Arun C Murthy via vinodkv)
325325

326+
YARN-1570. Fixed formatting of the lines in YarnCommands.apt.vm docs source.
327+
(Akira Ajisaka via vinodkv)
328+
326329
OPTIMIZATIONS
327330

328331
BUG FIXES

hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/YarnCommands.apt.vm

Lines changed: 28 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,26 @@ Yarn Commands
2424

2525
* Overview
2626

27-
Yarn commands are invoked by the bin/yarn script. Running the yarn script without any arguments prints the description for all commands.
27+
Yarn commands are invoked by the bin/yarn script. Running the yarn script
28+
without any arguments prints the description for all commands.
2829

2930
------
3031
Usage: yarn [--config confdir] COMMAND
3132
------
3233

33-
Yarn has an option parsing framework that employs parsing generic options as well as running classes.
34+
Yarn has an option parsing framework that employs parsing generic options as
35+
well as running classes.
3436

3537
*---------------+--------------+
3638
|| COMMAND_OPTIONS || Description |
3739
*---------------+--------------+
38-
| --config confdir | Overwrites the default Configuration directory. Default is $\{HADOOP_PREFIX\}/conf. |
40+
| --config confdir | Overwrites the default Configuration directory. Default
41+
| | is $\{HADOOP_PREFIX\}/conf.
3942
*---------------+--------------+
40-
| 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}}. |
43+
| COMMAND COMMAND_OPTIONS | Various commands with their options are described
44+
| | in the following sections. The commands have been
45+
| | grouped into {{User Commands}} and
46+
| | {{Administration Commands}}.
4147
*---------------+--------------+
4248

4349
* {User Commands}
@@ -46,7 +52,8 @@ Usage: yarn [--config confdir] COMMAND
4652

4753
** jar
4854

49-
Runs a jar file. Users can bundle their Yarn code in a jar file and execute it using this command.
55+
Runs a jar file. Users can bundle their Yarn code in a jar file and execute
56+
it using this command.
5057

5158
-------
5259
Usage: yarn jar <jar> [mainClass] args...
@@ -188,21 +195,27 @@ Usage: yarn [--config confdir] COMMAND
188195
*---------------+--------------+
189196
|| COMMAND_OPTIONS || Description |
190197
*---------------+--------------+
191-
| -refreshQueues | Reload the queues' acls, states and scheduler specific properties. ResourceManager will reload the mapred-queues configuration file. |
198+
| -refreshQueues | Reload the queues' acls, states and scheduler specific
199+
| | properties. ResourceManager will reload the mapred-queues
200+
| | configuration file.
192201
*---------------+--------------+
193202
| -refreshNodes | Refresh the hosts information at the ResourceManager. |
194203
*---------------+--------------+
195204
| -refreshUserToGroupsMappings| Refresh user-to-groups mappings. |
196205
*---------------+--------------+
197-
| -refreshSuperUserGroupsConfiguration| Refresh superuser proxy groups mappings. |
206+
| -refreshSuperUserGroupsConfiguration | Refresh superuser proxy groups
207+
| | mappings.
198208
*---------------+--------------+
199209
| -refreshAdminAcls | Refresh acls for administration of ResourceManager |
200210
*---------------+--------------+
201-
| -refreshServiceAcl | Reload the service-level authorization policy file ResoureceManager will reload the authorization policy file. |
211+
| -refreshServiceAcl | Reload the service-level authorization policy file
212+
| | ResourceManager will reload the authorization policy
213+
| | file.
202214
*---------------+--------------+
203215
| -getGroups [username] | Get groups the specified user belongs to.
204216
*---------------+--------------+
205-
| -help [cmd] | Displays help for the given command or all commands if none is specified. |
217+
| -help [cmd] | Displays help for the given command or all commands if none is
218+
| | specified.
206219
*---------------+--------------+
207220
| -transitionToActive \<serviceId\> | Transitions the service into Active
208221
| | state.
@@ -229,9 +242,13 @@ Usage: yarn [--config confdir] COMMAND
229242
*---------------+--------------+
230243
|| COMMAND_OPTIONS || Description |
231244
*---------------+--------------+
232-
| -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\>
245+
| -getlevel \<host:port\> \<name\> | Prints the log level of the daemon running
246+
| | at \<host:port\>. This command internally connects to
247+
| | http://\<host:port\>/logLevel?log=\<name\>
233248
*---------------+--------------+
234-
| -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\>
249+
| -setlevel \<host:port\> \<name\> \<level\> | Sets the log level of the daemon
250+
| | running at \<host:port\>. This command internally connects to
251+
| | http://\<host:port\>/logLevel?log=\<name\>
235252
*---------------+--------------+
236253

237254

0 commit comments

Comments
 (0)