From 8d754c2c397f1273ad7c520fa5f1b7efa0db31f7 Mon Sep 17 00:00:00 2001 From: HUAN-PING SU Date: Fri, 16 Aug 2019 17:25:19 -0700 Subject: [PATCH] HADOOP-16351. Change ":" to ApplicationConstants.CLASS_PATH_SEPARATOR. Contributed by kevin su. Signed-off-by: Wei-Chiu Chuang --- .../hadoop/yarn/applications/distributedshell/Client.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/main/java/org/apache/hadoop/yarn/applications/distributedshell/Client.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/main/java/org/apache/hadoop/yarn/applications/distributedshell/Client.java index ff0769384c7..8ba391e78f6 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/main/java/org/apache/hadoop/yarn/applications/distributedshell/Client.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/main/java/org/apache/hadoop/yarn/applications/distributedshell/Client.java @@ -925,7 +925,7 @@ public class Client { // add the runtime classpath needed for tests to work if (conf.getBoolean(YarnConfiguration.IS_MINI_YARN_CLUSTER, false)) { - classPathEnv.append(':') + classPathEnv.append(ApplicationConstants.CLASS_PATH_SEPARATOR) .append(System.getProperty("java.class.path")); }