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:
HUAN-PING SU 2019-08-16 17:25:19 -07:00 committed by Wei-Chiu Chuang
parent 971a4c8e83
commit 8d754c2c39
1 changed files with 1 additions and 1 deletions

View File

@ -925,7 +925,7 @@ public class Client {
// 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"));
} }