HADOOP-7374. Don't add tools.jar to the classpath when running Hadoop. Contributed by Eli Collins

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1134861 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Eli Collins 2011-06-12 04:13:40 +00:00
parent b39e5f93f5
commit a285fb5eff
3 changed files with 3 additions and 2 deletions

View File

@ -209,6 +209,9 @@ Trunk (unreleased changes)
HADOOP-7383. HDFS needs to export protobuf library dependency in pom.
(todd via eli)
HADOOP-7374. Don't add tools.jar to the classpath when running Hadoop.
(eli)
OPTIMIZATIONS
HADOOP-7333. Performance improvement in PureJavaCrc32. (Eric Caspole

View File

@ -130,7 +130,6 @@ fi
# CLASSPATH initially contains $HADOOP_CONF_DIR
CLASSPATH="${HADOOP_CONF_DIR}"
CLASSPATH=${CLASSPATH}:$JAVA_HOME/lib/tools.jar
# for developers, add Hadoop classes to CLASSPATH
if [ -d "$HADOOP_PREFIX/build/classes" ]; then

View File

@ -52,7 +52,6 @@ JAVA_HEAP_MAX=-Xmx1000m
# CLASSPATH initially contains $HADOOP_CONF_DIR
CLASSPATH="${HADOOP_CONF_DIR}"
CLASSPATH=${CLASSPATH}:$JAVA_HOME/lib/tools.jar
# for developers, add Hadoop classes to CLASSPATH
if [ -d "$HADOOP_PREFIX/build/classes" ]; then