[
https://issues.apache.org/jira/browse/MAPREDUCE-3283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14283192#comment-14283192
]
Chris Nauroth commented on MAPREDUCE-3283:
------------------------------------------
I retested the mapred.cmd change, but unfortunately it still doesn't have the
right behavior. Calling {{exit /b}} from within the {{classpath}} subroutine
exits just the subroutine, not the whole script, so it still ends up trying to
launch a JVM. I think we'll need to restructure this so it's more like
yarn.cmd, where the classpath command is handled as a special case outside of
the other command handling. That way, the {{exit /b}} would exit from the
top-level mapred.cmd script.
> mapred classpath CLI does not display the complete classpath
> ------------------------------------------------------------
>
> Key: MAPREDUCE-3283
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3283
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: scripts
> Affects Versions: 0.23.0, 2.6.0
> Reporter: Ramya Sunil
> Assignee: Varun Saxena
> Priority: Minor
> Labels: newbie
> Attachments: MAPREDUCE-3283-branch-2.patch, MAPREDUCE-3283.001.patch,
> MAPREDUCE-3283.002.patch, MAPREDUCE-3283.003.patch, MAPREDUCE-3283.004.patch
>
>
> bin/yarn classpath does not display the complete classpath. Below is how the
> classpath looks like:
> {noformat}
> $HADOOP_CONF_DIR:$HADOOP_CONF_DIR::$TOOLS_JAR:$HADOOP_COMMON_HOME/*:$HADOOP_COMMON_HOME/lib/*:$HADOOP_HDFS_HOME/*:$HADOOP_HDFS_HOME/lib/*:
> $HADOOP_MAPRED_HOME/bin/../modules/*:$HADOOP_MAPRED_HOME/bin/../lib/*
> {noformat}
> "*" has to be substituted with the actual jars. Also, $HADOOP_CONF_DIR
> appears twice in the classpath
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)