Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: documentation
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      --global, --jar options are not documented.

      $ hdfs classpath --help
      classpath [--glob|--jar <path>|-h|--help] :
        Prints the classpath needed to get the Hadoop jar and the required
        libraries.
        Options:
      
        --glob       expand wildcards
        --jar <path> write classpath as manifest in jar named <path>
        -h, --help   print help
      

      current document:

      User Commands
      
      Commands useful for users of a hadoop cluster.
      
      classpath
      
      Usage: hdfs classpath
      
      Prints the class path needed to get the Hadoop jar and the required libraries
      
      1. HDFS-8553-002.patch
        1 kB
        Brahma Reddy Battula
      2. HDFS-8553.patch
        0.9 kB
        Brahma Reddy Battula

        Activity

        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Mapreduce-trunk #2169 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2169/)
        HDFS-8553. Document hdfs class path options. Contributed by Brahma Reddy Battula. (cnauroth: rev d2832b3d4243c6c470c774bc33fd13f70b3e7b72)

        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk #2169 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2169/ ) HDFS-8553 . Document hdfs class path options. Contributed by Brahma Reddy Battula. (cnauroth: rev d2832b3d4243c6c470c774bc33fd13f70b3e7b72) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #221 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/221/)
        HDFS-8553. Document hdfs class path options. Contributed by Brahma Reddy Battula. (cnauroth: rev d2832b3d4243c6c470c774bc33fd13f70b3e7b72)

        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #221 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/221/ ) HDFS-8553 . Document hdfs class path options. Contributed by Brahma Reddy Battula. (cnauroth: rev d2832b3d4243c6c470c774bc33fd13f70b3e7b72) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #212 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/212/)
        HDFS-8553. Document hdfs class path options. Contributed by Brahma Reddy Battula. (cnauroth: rev d2832b3d4243c6c470c774bc33fd13f70b3e7b72)

        • hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #212 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/212/ ) HDFS-8553 . Document hdfs class path options. Contributed by Brahma Reddy Battula. (cnauroth: rev d2832b3d4243c6c470c774bc33fd13f70b3e7b72) hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Hdfs-trunk #2151 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2151/)
        HDFS-8553. Document hdfs class path options. Contributed by Brahma Reddy Battula. (cnauroth: rev d2832b3d4243c6c470c774bc33fd13f70b3e7b72)

        • hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk #2151 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2151/ ) HDFS-8553 . Document hdfs class path options. Contributed by Brahma Reddy Battula. (cnauroth: rev d2832b3d4243c6c470c774bc33fd13f70b3e7b72) hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Yarn-trunk #953 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/953/)
        HDFS-8553. Document hdfs class path options. Contributed by Brahma Reddy Battula. (cnauroth: rev d2832b3d4243c6c470c774bc33fd13f70b3e7b72)

        • hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Yarn-trunk #953 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/953/ ) HDFS-8553 . Document hdfs class path options. Contributed by Brahma Reddy Battula. (cnauroth: rev d2832b3d4243c6c470c774bc33fd13f70b3e7b72) hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #223 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/223/)
        HDFS-8553. Document hdfs class path options. Contributed by Brahma Reddy Battula. (cnauroth: rev d2832b3d4243c6c470c774bc33fd13f70b3e7b72)

        • hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #223 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/223/ ) HDFS-8553 . Document hdfs class path options. Contributed by Brahma Reddy Battula. (cnauroth: rev d2832b3d4243c6c470c774bc33fd13f70b3e7b72) hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Hide
        brahmareddy Brahma Reddy Battula added a comment -

        Chris Nauroth thanks for review and commit..

        Show
        brahmareddy Brahma Reddy Battula added a comment - Chris Nauroth thanks for review and commit..
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-trunk-Commit #7992 (See https://builds.apache.org/job/Hadoop-trunk-Commit/7992/)
        HDFS-8553. Document hdfs class path options. Contributed by Brahma Reddy Battula. (cnauroth: rev d2832b3d4243c6c470c774bc33fd13f70b3e7b72)

        • hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-trunk-Commit #7992 (See https://builds.apache.org/job/Hadoop-trunk-Commit/7992/ ) HDFS-8553 . Document hdfs class path options. Contributed by Brahma Reddy Battula. (cnauroth: rev d2832b3d4243c6c470c774bc33fd13f70b3e7b72) hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Hide
        cnauroth Chris Nauroth added a comment -

        I have committed this to trunk and branch-2.

        Show
        cnauroth Chris Nauroth added a comment - I have committed this to trunk and branch-2.
        Hide
        cnauroth Chris Nauroth added a comment -

        +1 for the patch. Brahma, thank you for the contribution. Xiaoyu, thank you for code reviewing.

        Show
        cnauroth Chris Nauroth added a comment - +1 for the patch. Brahma, thank you for the contribution. Xiaoyu, thank you for code reviewing.
        Hide
        hadoopqa Hadoop QA added a comment -



        +1 overall



        Vote Subsystem Runtime Comment
        0 pre-patch 2m 53s Pre-patch trunk compilation is healthy.
        +1 @author 0m 0s The patch does not contain any @author tags.
        +1 release audit 0m 21s The applied patch does not increase the total number of release audit warnings.
        +1 site 2m 57s Site still builds.
        +1 whitespace 0m 0s The patch has no lines that end in whitespace.
            6m 14s  



        Subsystem Report/Notes
        Patch URL http://issues.apache.org/jira/secure/attachment/12738382/HDFS-8553-002.patch
        Optional Tests site
        git revision trunk / 0e80d51
        Java 1.7.0_55
        uname Linux asf900.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
        Console output https://builds.apache.org/job/PreCommit-HDFS-Build/11271/console

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - +1 overall Vote Subsystem Runtime Comment 0 pre-patch 2m 53s Pre-patch trunk compilation is healthy. +1 @author 0m 0s The patch does not contain any @author tags. +1 release audit 0m 21s The applied patch does not increase the total number of release audit warnings. +1 site 2m 57s Site still builds. +1 whitespace 0m 0s The patch has no lines that end in whitespace.     6m 14s   Subsystem Report/Notes Patch URL http://issues.apache.org/jira/secure/attachment/12738382/HDFS-8553-002.patch Optional Tests site git revision trunk / 0e80d51 Java 1.7.0_55 uname Linux asf900.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Console output https://builds.apache.org/job/PreCommit-HDFS-Build/11271/console This message was automatically generated.
        Hide
        brahmareddy Brahma Reddy Battula added a comment -

        Chris Nauroth Attached the patch based on your comment..Kindly review..

        Raised YARN-3786 and MAPREDUCE-6392 to address in yarn and mapreduce..

        Show
        brahmareddy Brahma Reddy Battula added a comment - Chris Nauroth Attached the patch based on your comment..Kindly review.. Raised YARN-3786 and MAPREDUCE-6392 to address in yarn and mapreduce..
        Hide
        brahmareddy Brahma Reddy Battula added a comment -

        Chris Nauroth thanks a lot lookinto this issue...

        Would you please also include the longer description text starting with "If called without arguments..."

        sure, I will update.

        BTW, I see the same problem for yarn and mapred if you want to file YARN and MARPEDUCE jiras to fix those too.

        sure, I will raise and give patch

        Show
        brahmareddy Brahma Reddy Battula added a comment - Chris Nauroth thanks a lot lookinto this issue... Would you please also include the longer description text starting with "If called without arguments..." sure, I will update. BTW, I see the same problem for yarn and mapred if you want to file YARN and MARPEDUCE jiras to fix those too. sure, I will raise and give patch
        Hide
        cnauroth Chris Nauroth added a comment -

        Hi Brahma Reddy Battula. Thank you for fixing this. Would you please also include the longer description text starting with "If called without arguments..." shown here?

        http://hadoop.apache.org/docs/r2.7.0/hadoop-project-dist/hadoop-common/CommandsManual.html#classpath

        I think you can copy-paste from CommandsManual.md.

        BTW, I see the same problem for yarn and mapred if you want to file YARN and MARPEDUCE jiras to fix those too.

        http://hadoop.apache.org/docs/r2.7.0/hadoop-yarn/hadoop-yarn-site/YarnCommands.html#classpath

        http://hadoop.apache.org/docs/r2.7.0/hadoop-mapreduce-client/hadoop-mapreduce-client-core/MapredCommands.html#classpath

        Show
        cnauroth Chris Nauroth added a comment - Hi Brahma Reddy Battula . Thank you for fixing this. Would you please also include the longer description text starting with "If called without arguments..." shown here? http://hadoop.apache.org/docs/r2.7.0/hadoop-project-dist/hadoop-common/CommandsManual.html#classpath I think you can copy-paste from CommandsManual.md. BTW, I see the same problem for yarn and mapred if you want to file YARN and MARPEDUCE jiras to fix those too. http://hadoop.apache.org/docs/r2.7.0/hadoop-yarn/hadoop-yarn-site/YarnCommands.html#classpath http://hadoop.apache.org/docs/r2.7.0/hadoop-mapreduce-client/hadoop-mapreduce-client-core/MapredCommands.html#classpath
        Hide
        xyao Xiaoyu Yao added a comment -

        I tried the patch with mvn site. The rendered site looks good. +1.
        I will wait to see if Chris Nauroth has additional comments before commit it.

        Show
        xyao Xiaoyu Yao added a comment - I tried the patch with mvn site. The rendered site looks good. +1. I will wait to see if Chris Nauroth has additional comments before commit it.
        Hide
        hadoopqa Hadoop QA added a comment -



        +1 overall



        Vote Subsystem Runtime Comment
        0 pre-patch 2m 54s Pre-patch trunk compilation is healthy.
        +1 @author 0m 0s The patch does not contain any @author tags.
        +1 release audit 0m 20s The applied patch does not increase the total number of release audit warnings.
        +1 site 2m 54s Site still builds.
        +1 whitespace 0m 0s The patch has no lines that end in whitespace.
            6m 11s  



        Subsystem Report/Notes
        Patch URL http://issues.apache.org/jira/secure/attachment/12738193/HDFS-8553.patch
        Optional Tests site
        git revision trunk / 71de367
        Java 1.7.0_55
        uname Linux asf906.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
        Console output https://builds.apache.org/job/PreCommit-HDFS-Build/11258/console

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - +1 overall Vote Subsystem Runtime Comment 0 pre-patch 2m 54s Pre-patch trunk compilation is healthy. +1 @author 0m 0s The patch does not contain any @author tags. +1 release audit 0m 20s The applied patch does not increase the total number of release audit warnings. +1 site 2m 54s Site still builds. +1 whitespace 0m 0s The patch has no lines that end in whitespace.     6m 11s   Subsystem Report/Notes Patch URL http://issues.apache.org/jira/secure/attachment/12738193/HDFS-8553.patch Optional Tests site git revision trunk / 71de367 Java 1.7.0_55 uname Linux asf906.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Console output https://builds.apache.org/job/PreCommit-HDFS-Build/11258/console This message was automatically generated.
        Hide
        brahmareddy Brahma Reddy Battula added a comment -

        Xiaoyu Yao attached the patch..Kindly review..

        Show
        brahmareddy Brahma Reddy Battula added a comment - Xiaoyu Yao attached the patch..Kindly review..

          People

          • Assignee:
            brahmareddy Brahma Reddy Battula
            Reporter:
            xyao Xiaoyu Yao
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development