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 "Michael Bieniosek (JIRA)" <ji...@apache.org> on 2007/03/13 01:29:09 UTC
[jira] Commented: (HADOOP-1114) bin/hadoop script clobbers
CLASSPATH
[ https://issues.apache.org/jira/browse/HADOOP-1114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480234 ]
Michael Bieniosek commented on HADOOP-1114:
-------------------------------------------
Here's my proposed patch:
--- bin/hadoop.orig
+++ bin/hadoop
@@ -74,7 +74,8 @@
fi
# CLASSPATH initially contains $HADOOP_CONF_DIR
-CLASSPATH="${HADOOP_CONF_DIR}"
+# respect previously set CLASSPATH
+CLASSPATH="$CLASSPATH:${HADOOP_CONF_DIR}"
CLASSPATH=${CLASSPATH}:$JAVA_HOME/lib/tools.jar
# for developers, add Hadoop classes to CLASSPATH
> bin/hadoop script clobbers CLASSPATH
> ------------------------------------
>
> Key: HADOOP-1114
> URL: https://issues.apache.org/jira/browse/HADOOP-1114
> Project: Hadoop
> Issue Type: Bug
> Components: scripts
> Affects Versions: 0.12.0
> Reporter: Michael Bieniosek
> Priority: Minor
>
> The bin/hadoop script distributed with hadoop clobbers the user's CLASSPATH. This prevents ad-hoc appending to the CLASSPATH.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.