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

    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            sjlee0 Sangjin Lee
            sjlee0 Sangjin Lee

            Dates

              Created:
              Updated:

              Slack

                Issue deployment