Repository: hadoop
Updated Branches:
  refs/heads/branch-2 d9016b028 -> 5a002aef1
  refs/heads/trunk a531b058a -> 025a3a8be


MAPREDUCE-6392. Document mapred class path options. Contributed by Brahma Reddy 
Battula.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/025a3a8b
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/025a3a8b
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/025a3a8b

Branch: refs/heads/trunk
Commit: 025a3a8be07ba2b0c27ee39034b506d91aa486fc
Parents: a531b05
Author: cnauroth <cnaur...@apache.org>
Authored: Mon Jun 8 16:22:03 2015 -0700
Committer: cnauroth <cnaur...@apache.org>
Committed: Mon Jun 8 16:22:03 2015 -0700

----------------------------------------------------------------------
 hadoop-mapreduce-project/CHANGES.txt                      |  3 +++
 .../src/site/markdown/MapredCommands.md                   | 10 ++++++++--
 2 files changed, 11 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/025a3a8b/hadoop-mapreduce-project/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-mapreduce-project/CHANGES.txt 
b/hadoop-mapreduce-project/CHANGES.txt
index 29191cd..115fc1b 100644
--- a/hadoop-mapreduce-project/CHANGES.txt
+++ b/hadoop-mapreduce-project/CHANGES.txt
@@ -343,6 +343,9 @@ Release 2.8.0 - UNRELEASED
     MAPREDUCE-6354. ShuffleHandler should be able to log shuffle connections
     (Chang Li via jlowe)
 
+    MAPREDUCE-6392. Document mapred class path options.
+    (Brahma Reddy Battula via cnauroth)
+
   OPTIMIZATIONS
 
   BUG FIXES

http://git-wip-us.apache.org/repos/asf/hadoop/blob/025a3a8b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/site/markdown/MapredCommands.md
----------------------------------------------------------------------
diff --git 
a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/site/markdown/MapredCommands.md
 
b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/site/markdown/MapredCommands.md
index 9ccee60..0a3c491 100644
--- 
a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/site/markdown/MapredCommands.md
+++ 
b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/site/markdown/MapredCommands.md
@@ -55,9 +55,15 @@ Creates a hadoop archive. More information can be found at
 
 ### `classpath`
 
-Prints the class path needed to get the Hadoop jar and the required libraries.
+Usage: `yarn classpath [--glob |--jar <path> |-h |--help]`
 
-Usage: `mapred classpath`
+| COMMAND\_OPTION | Description |
+|:---- |:---- |
+| `--glob` | expand wildcards |
+| `--jar` *path* | write classpath as manifest in jar named *path* |
+| `-h`, `--help` | print help |
+
+Prints the class path needed to get the Hadoop jar and the required libraries. 
If called without arguments, then prints the classpath set up by the command 
scripts, which is likely to contain wildcards in the classpath entries. 
Additional options print the classpath after wildcard expansion or write the 
classpath into the manifest of a jar file. The latter is useful in environments 
where wildcards cannot be used and the expanded classpath exceeds the maximum 
supported command line length.
 
 ### `distcp`
 

Reply via email to