You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "kevin su (JIRA)" <ji...@apache.org> on 2019/06/06 22:06:00 UTC
[jira] [Created] (HADOOP-16351) Change ":" to
ApplicationConstants.CLASS_PATH_SEPARATOR
kevin su created HADOOP-16351:
---------------------------------
Summary: Change ":" to ApplicationConstants.CLASS_PATH_SEPARATOR
Key: HADOOP-16351
URL: https://issues.apache.org/jira/browse/HADOOP-16351
Project: Hadoop Common
Issue Type: Task
Components: common
Affects Versions: 3.1.2
Reporter: kevin su
Assignee: kevin su
Fix For: 3.1.2
under distributedshell/Clients.java
We should change ":" to ApplicationConstants.CLASS_PATH_SEPARATOR, so it could also support Windows client
{code}
// add the runtime classpath needed for tests to work
if (conf.getBoolean(YarnConfiguration.IS_MINI_YARN_CLUSTER, false)) {
classPathEnv.append(':')
.append(System.getProperty("java.class.path"));
}
{code}
{code}
// add the runtime classpath needed for tests to work
if (conf.getBoolean(YarnConfiguration.IS_MINI_YARN_CLUSTER, false)) {
classPathEnv.append(ApplicationConstants.CLASS_PATH_SEPARATOR)
.append(System.getProperty("java.class.path"));
}
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org