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

remove redundant classpath entries in RunJar

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • util
    • None

    Description

      Today when you run a "hadoop jar" command, the content of the jar gets added to the classpath twice, once in the jar form, and again in an unpacked form.

      We should include the content of the jar to the classpath only once. We should keep the jar in the classpath (to support setJarByClass and other useful use cases) but remove the root of the unpacked directory.

      Attachments

        1. HADOOP-13776.01.patch
          1 kB
          Sangjin Lee

        Issue Links

          Activity

            People

              sjlee0 Sangjin Lee
              sjlee0 Sangjin Lee
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: