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

Remove tests and tests-sources jars from classpath

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.0.0-alpha
    • None
    • None
    • None

    Description

      Currently hadoop-config.sh is including any tests and tests-sources jars in the default classpath, as those jars are shipped in the dist tarball next to the main jars and the script is globbing everything in that directory.

      The tests and tests-sources jars aren't required to run Hadoop, but they can cause breakage when inadvertently picked up. See HDFS-3831 as an example. Ideally we should not be adding these jars to the classpath.

      Attachments

        1. HADOOP-8723.patch
          3 kB
          Jason Darrell Lowe

        Issue Links

          Activity

            People

              jlowe Jason Darrell Lowe
              jlowe Jason Darrell Lowe
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: