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

Remove tests and tests-sources jars from classpath

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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 Lowe

          Issue Links

            Activity

              People

              • Assignee:
                jlowe Jason Lowe
                Reporter:
                jlowe Jason Lowe
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: