HADOOP-16351. Change ":" to ApplicationConstants.CLASS_PATH_SEPARATOR. Contributed by kevin su.
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
This commit is contained in:
parent
971a4c8e83
commit
8d754c2c39
@ -925,7 +925,7 @@ public boolean run() throws IOException, YarnException {
|
|||||||
|
|
||||||
// add the runtime classpath needed for tests to work
|
// add the runtime classpath needed for tests to work
|
||||||
if (conf.getBoolean(YarnConfiguration.IS_MINI_YARN_CLUSTER, false)) {
|
if (conf.getBoolean(YarnConfiguration.IS_MINI_YARN_CLUSTER, false)) {
|
||||||
classPathEnv.append(':')
|
classPathEnv.append(ApplicationConstants.CLASS_PATH_SEPARATOR)
|
||||||
.append(System.getProperty("java.class.path"));
|
.append(System.getProperty("java.class.path"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user