Merge -c 1189667 from trunk to branch-0.23 to fix MAPREDUCE-3259.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1189668 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
23eb484fa1
commit
e18d2cdb31
|
@ -1737,6 +1737,9 @@ Release 0.23.0 - Unreleased
|
|||
MAPREDUCE-3257. Added authorization checks for the protocol between
|
||||
ResourceManager and ApplicatoinMaster. (vinodkv via acmurthy)
|
||||
|
||||
MAPREDUCE-3259. Added java.library.path of NodeManager to
|
||||
ContainerLocalizer in LinuxContainerExecutor. (Kihwal Lee via acmurthy)
|
||||
|
||||
Release 0.22.0 - Unreleased
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -115,6 +115,10 @@ public class LinuxContainerExecutor extends ContainerExecutor {
|
|||
command.add(jvm.toString());
|
||||
command.add("-classpath");
|
||||
command.add(System.getProperty("java.class.path"));
|
||||
String javaLibPath = System.getProperty("java.library.path");
|
||||
if (javaLibPath != null) {
|
||||
command.add("-Djava.library.path=" + javaLibPath);
|
||||
}
|
||||
command.add(ContainerLocalizer.class.getName());
|
||||
command.add(user);
|
||||
command.add(appId);
|
||||
|
|
Loading…
Reference in New Issue