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 Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • 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.

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

        Issue Links

          Activity

          Chris Nauroth created issue -
          Chris Nauroth made changes -
          Field Original Value New Value
          Attachment HADOOP-9488.1.patch [ 12579571 ]
          Chris Nauroth made changes -
          Link This issue relates to YARN-593 [ YARN-593 ]
          Chris Nauroth made changes -
          Link This issue relates to MAPREDUCE-4987 [ MAPREDUCE-4987 ]
          Chris Nauroth made changes -
          Link This issue is part of HADOOP-8562 [ HADOOP-8562 ]
          Chris Nauroth made changes -
          Attachment HADOOP-9488.1.patch [ 12579574 ]
          Chris Nauroth made changes -
          Attachment HADOOP-9488.1.patch [ 12579574 ]
          Chris Nauroth made changes -
          Attachment HADOOP-9488.consolidated.1.patch [ 12579576 ]
          Chris Nauroth made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Chris Nauroth made changes -
          Attachment HADOOP-9488.consolidated.2.patch [ 12579603 ]
          Bikas Saha made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Fix Version/s 3.0.0 [ 12320357 ]
          Resolution Fixed [ 1 ]
          Suresh Srinivas made changes -
          Fix Version/s 2.0.5-beta [ 12324030 ]
          Fix Version/s 3.0.0 [ 12320357 ]
          Arun C Murthy made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development