Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10903

Enhance hadoop classpath command to expand wildcards or write classpath into jar manifest.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.6.0
    • scripts, util
    • None
    • Reviewed
    • Hide
      The "hadoop classpath" command has been enhanced to support options for automatic expansion of wildcards in classpath elements and writing the classpath to a jar file manifest. These options make it easier to construct a correct classpath for libhdfs applications.
      Show
      The "hadoop classpath" command has been enhanced to support options for automatic expansion of wildcards in classpath elements and writing the classpath to a jar file manifest. These options make it easier to construct a correct classpath for libhdfs applications.

    Description

      The "hadoop classpath" shell command currently prints the classpath variable established by the shell scripts and then exits. A few enhancements to this command would be desirable to support a few other use cases.

      Attachments

        1. HADOOP-10903.1.patch
          15 kB
          Chris Nauroth

        Issue Links

          Activity

            People

              cnauroth Chris Nauroth
              cnauroth Chris Nauroth
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: