[
https://issues.apache.org/jira/browse/YARN-1429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13832074#comment-13832074
]
Karthik Kambatla commented on YARN-1429:
----------------------------------------
Wonder if we should add YARN_CLASSPATH to CLASSPATH before adding the jars
under YARN_DIR and YAR_LIB_JARS_DIR:
{code}
CLASSPATH=${CLASSPATH}:$HADOOP_YARN_HOME/${YARN_DIR}/*
CLASSPATH=${CLASSPATH}:$HADOOP_YARN_HOME/${YARN_LIB_JARS_DIR}/*
+# Add user defined YARN_CLASSPATH to the class path (if defined)
+if [ -n "$YARN_CLASSPATH" ]; then
+ CLASSPATH=${CLASSPATH}:${YARN_CLASSPATH}
+fi
+
{code}
> YARN_CLASSPATH is referenced in yarn command comments but doesn't do anything
> -----------------------------------------------------------------------------
>
> Key: YARN-1429
> URL: https://issues.apache.org/jira/browse/YARN-1429
> Project: Hadoop YARN
> Issue Type: Bug
> Components: client
> Reporter: Sandy Ryza
> Priority: Trivial
> Labels: newbie
> Attachments: YARN-1429.patch
>
>
> YARN_CLASSPATH is referenced in the comments in
> ./hadoop-yarn-project/hadoop-yarn/bin/yarn and
> ./hadoop-yarn-project/hadoop-yarn/bin/yarn.cmd, but doesn't do anything.
--
This message was sent by Atlassian JIRA
(v6.1#6144)