diff --git a/hadoop-common-project/hadoop-common/src/main/bin/hadoop b/hadoop-common-project/hadoop-common/src/main/bin/hadoop index 980cd0c87d5..6346944af89 100755 --- a/hadoop-common-project/hadoop-common/src/main/bin/hadoop +++ b/hadoop-common-project/hadoop-common/src/main/bin/hadoop @@ -110,7 +110,7 @@ case $COMMAND in elif [ "$COMMAND" = "jar" ] ; then CLASS=org.apache.hadoop.util.RunJar if [[ -n "${YARN_OPTS}" ]] || [[ -n "${YARN_CLIENT_OPTS}" ]]; then - echo "WARNING: Use \"yarn jar\" to launch YARN applications." + echo "WARNING: Use \"yarn jar\" to launch YARN applications." 1>&2 fi elif [ "$COMMAND" = "key" ] ; then CLASS=org.apache.hadoop.crypto.key.KeyShell diff --git a/hadoop-common-project/hadoop-common/src/main/bin/hadoop.cmd b/hadoop-common-project/hadoop-common/src/main/bin/hadoop.cmd index aebac81bf57..d53ba575db0 100644 --- a/hadoop-common-project/hadoop-common/src/main/bin/hadoop.cmd +++ b/hadoop-common-project/hadoop-common/src/main/bin/hadoop.cmd @@ -162,9 +162,9 @@ call :updatepath %HADOOP_BIN_PATH% :jar if defined YARN_OPTS ( - @echo WARNING: Use "yarn jar" to launch YARN applications. + @echo WARNING: Use "yarn jar" to launch YARN applications. 1>&2 ) else if defined YARN_CLIENT_OPTS ( - @echo WARNING: Use "yarn jar" to launch YARN applications. + @echo WARNING: Use "yarn jar" to launch YARN applications. 1>&2 ) set CLASS=org.apache.hadoop.util.RunJar goto :eof