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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: 2.1.0-beta
    • Component/s: fs
    • Labels:
      None
    • Target Version/s:

      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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: