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
1 changed files with 1 additions and 0 deletions

View File

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