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

FileUtil#createJarWithClassPath only substitutes environment variables from current process environment/does not support overriding when launching new process

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 2.1.0-beta
    • fs
    • None

    Description

      FileUtil#createJarWithClassPath always uses System#getEnv for substitution of environment variables in the classpath bundled into the jar manifest. YARN launches container processes with a different set of environment variables, so the method needs to support providing environment variables different from the current process.

      Attachments

        1. HADOOP-9488.consolidated.2.patch
          17 kB
          Chris Nauroth
        2. HADOOP-9488.consolidated.1.patch
          17 kB
          Chris Nauroth
        3. HADOOP-9488.1.patch
          5 kB
          Chris Nauroth

        Issue Links

        Activity

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

          People

            cnauroth Chris Nauroth
            cnauroth Chris Nauroth
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment