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:
parent
22fb49704b
commit
e28b9aefd7
@ -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
|
||||||
|
@ -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
|
||||||
|
4
bin/hdfs
4
bin/hdfs
@ -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 "$@"
|
||||||
|
Loading…
Reference in New Issue
Block a user