Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
0.23.0
-
None
Description
This is similar to MAPREDUCE-103 . We should pass a whitelisted set of environment variables from NM env to the container. By default, we should pass HADOOP_* variables. This can be a simple configuration key that NodeManager reads.
Today, we already either pass the following correctly or assume that it works but doesn't
- YARN_HOME: ContainerLaunch#writeLaunchEnv
- HADOOP_CLIENT_OPTS: MapReduceChildJVM#setVMEnv
- JAVA_HOME: TaskAttemptImpl#createContainerLaunchContext - Works by shell-expansion.
- LD_LIBRARY_PATH: Assumed to work via shell-expansion but doesn't.
Attachments
Issue Links
- is duplicated by
-
MAPREDUCE-3068 Should set MALLOC_ARENA_MAX for all YARN daemons and AMs/Containers
- Closed