YARN-6588. Add native-service AM log4j properties in classpath. Contributed by Jian He
This commit is contained in:
parent
a041373dd4
commit
02d68c4bcf
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user