You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by cn...@apache.org on 2015/06/09 01:16:07 UTC

[1/2] hadoop git commit: HDFS-8553. Document hdfs class path options. Contributed by Brahma Reddy Battula.

Repository: hadoop
Updated Branches:
  refs/heads/branch-2 82e772bdb -> cc960734e
  refs/heads/trunk 84ba1a75b -> d2832b3d4


HDFS-8553. Document hdfs 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/d2832b3d
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/d2832b3d
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/d2832b3d

Branch: refs/heads/trunk
Commit: d2832b3d4243c6c470c774bc33fd13f70b3e7b72
Parents: 84ba1a7
Author: cnauroth <cn...@apache.org>
Authored: Mon Jun 8 16:15:38 2015 -0700
Committer: cnauroth <cn...@apache.org>
Committed: Mon Jun 8 16:15:38 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/hadoop/blob/d2832b3d/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
index 73574b6..01a0285 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
@@ -609,6 +609,9 @@ Release 2.8.0 - UNRELEASED
     HDFS-8116. Cleanup uncessary if LOG.isDebugEnabled() from
     RollingWindowManager. (Brahma Reddy Battula via xyao)
 
+    HDFS-8553. Document hdfs class path options.
+    (Brahma Reddy Battula via cnauroth)
+
   OPTIMIZATIONS
 
     HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than

http://git-wip-us.apache.org/repos/asf/hadoop/blob/d2832b3d/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
index fab15f8..c696477 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
@@ -71,9 +71,15 @@ Commands useful for users of a hadoop cluster.
 
 ### `classpath`
 
-Usage: `hdfs classpath`
+Usage: `hdfs classpath [--glob |--jar <path> |-h |--help]`
 
-Prints the class path needed to get the Hadoop jar and the required libraries
+| 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.
 
 ### `dfs`
 


[2/2] hadoop git commit: HDFS-8553. Document hdfs class path options. Contributed by Brahma Reddy Battula.

Posted by cn...@apache.org.
HDFS-8553. Document hdfs class path options. Contributed by Brahma Reddy Battula.

(cherry picked from commit d2832b3d4243c6c470c774bc33fd13f70b3e7b72)


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

Branch: refs/heads/branch-2
Commit: cc960734e4f23a9e9c3bb20951dc52ddc26f398b
Parents: 82e772b
Author: cnauroth <cn...@apache.org>
Authored: Mon Jun 8 16:15:38 2015 -0700
Committer: cnauroth <cn...@apache.org>
Committed: Mon Jun 8 16:15:53 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/hadoop/blob/cc960734/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
index ed484ad..0a9b7cd 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
@@ -269,6 +269,9 @@ Release 2.8.0 - UNRELEASED
     HDFS-8116. Cleanup uncessary if LOG.isDebugEnabled() from
     RollingWindowManager. (Brahma Reddy Battula via xyao)
 
+    HDFS-8553. Document hdfs class path options.
+    (Brahma Reddy Battula via cnauroth)
+
   OPTIMIZATIONS
 
     HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than

http://git-wip-us.apache.org/repos/asf/hadoop/blob/cc960734/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
index 43614f7..dbb594d 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
@@ -71,9 +71,15 @@ Commands useful for users of a hadoop cluster.
 
 ### `classpath`
 
-Usage: `hdfs classpath`
+Usage: `hdfs classpath [--glob |--jar <path> |-h |--help]`
 
-Prints the class path needed to get the Hadoop jar and the required libraries
+| 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.
 
 ### `dfs`