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

remove redundant classpath entries in RunJar

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: util
    • Labels:
      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

            • Assignee:
              sjlee0 Sangjin Lee
              Reporter:
              sjlee0 Sangjin Lee

              Dates

              • Created:
                Updated:

                Issue deployment