MAPREDUCE-3866. Fixed the bin/yarn script to not print the command line unnecessarily. (vinodkv)

svn merge --ignore-ancestry -c 1293425 ../../trunk


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1293429 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Vinod Kumar Vavilapalli 2012-02-24 21:29:19 +00:00
parent 0ad9ccf951
commit 39c86a9e65
2 changed files with 4 additions and 1 deletions

View File

@ -7,6 +7,7 @@ Release 0.23.2 - UNRELEASED
NEW FEATURES NEW FEATURES
IMPROVEMENTS IMPROVEMENTS
MAPREDUCE-3849. Change TokenCache's reading of the binary token file MAPREDUCE-3849. Change TokenCache's reading of the binary token file
(Daryn Sharp via bobby) (Daryn Sharp via bobby)
@ -16,6 +17,9 @@ Release 0.23.2 - UNRELEASED
MAPREDUCE-3877 Add a test to formalise the current state transitions MAPREDUCE-3877 Add a test to formalise the current state transitions
of the yarn lifecycle. (stevel) of the yarn lifecycle. (stevel)
MAPREDUCE-3866. Fixed the bin/yarn script to not print the command line
unnecessarily. (vinodkv)
OPTIMIZATIONS OPTIMIZATIONS
BUG FIXES BUG FIXES

View File

@ -221,6 +221,5 @@ if [ "x$JAVA_LIBRARY_PATH" != "x" ]; then
YARN_OPTS="$YARN_OPTS -Djava.library.path=$JAVA_LIBRARY_PATH" YARN_OPTS="$YARN_OPTS -Djava.library.path=$JAVA_LIBRARY_PATH"
fi fi
echo "$JAVA" -Dproc_$COMMAND $JAVA_HEAP_MAX $YARN_OPTS -classpath "$CLASSPATH" $CLASS "$@"
exec "$JAVA" -Dproc_$COMMAND $JAVA_HEAP_MAX $YARN_OPTS -classpath "$CLASSPATH" $CLASS "$@" exec "$JAVA" -Dproc_$COMMAND $JAVA_HEAP_MAX $YARN_OPTS -classpath "$CLASSPATH" $CLASS "$@"
fi fi