YARN-6588. Add native-service AM log4j properties in classpath. Contributed by Jian He

This commit is contained in:
Billie Rinaldi 2017-05-12 08:50:46 -07:00 committed by Jian He
parent a041373dd4
commit 02d68c4bcf

View File

@ -1642,6 +1642,7 @@ public static ClasspathConstructor buildClasspath(String sliderConfDir,
boolean usingMiniMRCluster) { boolean usingMiniMRCluster) {
ClasspathConstructor classpath = new ClasspathConstructor(); ClasspathConstructor classpath = new ClasspathConstructor();
classpath.append(SliderKeys.LOG4J_SERVER_PROP_FILENAME);
// add the runtime classpath needed for tests to work // add the runtime classpath needed for tests to work
if (usingMiniMRCluster) { if (usingMiniMRCluster) {