HADOOP-6391. Classpath should not be part of command line arguments. Contributed by Cristian Ivascu.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@890561 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Thomas White 2009-12-14 23:46:28 +00:00
parent 22fb49704b
commit e28b9aefd7
3 changed files with 7 additions and 3 deletions

View File

@ -86,6 +86,9 @@ Trunk (unreleased changes)
HADOOP-6414. Add command line help for -expunge command. HADOOP-6414. Add command line help for -expunge command.
(Ravi Phulari via tomwhite) (Ravi Phulari via tomwhite)
HADOOP-6391. Classpath should not be part of command line arguments.
(Cristian Ivascu via tomwhite)
Release 0.21.0 - Unreleased Release 0.21.0 - Unreleased
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -112,7 +112,8 @@ case $COMMAND in
if $cygwin; then if $cygwin; then
CLASSPATH=`cygpath -p -w "$CLASSPATH"` CLASSPATH=`cygpath -p -w "$CLASSPATH"`
fi fi
exec "$JAVA" $JAVA_HEAP_MAX $HADOOP_OPTS -classpath "$CLASSPATH" $CLASS "$@" export CLASSPATH=$CLASSPATH
exec "$JAVA" $JAVA_HEAP_MAX $HADOOP_OPTS $CLASS "$@"
;; ;;
esac esac

View File

@ -106,5 +106,5 @@ done
if $cygwin; then if $cygwin; then
CLASSPATH=`cygpath -p -w "$CLASSPATH"` CLASSPATH=`cygpath -p -w "$CLASSPATH"`
fi fi
export CLASSPATH=$CLASSPATH
exec "$JAVA" $JAVA_HEAP_MAX $HADOOP_OPTS -classpath "$CLASSPATH" $CLASS "$@" exec "$JAVA" $JAVA_HEAP_MAX $HADOOP_OPTS $CLASS "$@"