MAPREDUCE-3113. Ensure bin/yarn and bin/yarn-daemon.sh identify the root of the install properly. Contributed by Xie Xianshan.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1177874 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Arun Murthy 2011-09-30 23:58:58 +00:00
parent fad230a49d
commit f3b98a26c4
3 changed files with 5 additions and 2 deletions

View File

@ -1493,6 +1493,9 @@ Release 0.23.0 - Unreleased
MAPREDUCE-3050. Add ability to get resource usage information for
applications and nodes. (Robert Evans via acmurthy)
MAPREDUCE-3113. Ensure bin/yarn and bin/yarn-daemon.sh identify the root
of the install properly. (Xie Xianshan via acmurthy)
Release 0.22.0 - Unreleased
INCOMPATIBLE CHANGES

View File

@ -47,7 +47,7 @@
# YARN_ROOT_LOGGER The root appender. Default is INFO,console
#
bin=`dirname "$0"`
bin=`dirname "${BASH_SOURCE-$0}"`
bin=`cd "$bin"; pwd`
. "$bin"/yarn-config.sh

View File

@ -36,7 +36,7 @@ if [ $# -le 1 ]; then
exit 1
fi
bin=`dirname "$0"`
bin=`dirname "${BASH_SOURCE-$0}"`
bin=`cd "$bin"; pwd`
. "$bin"/yarn-config.sh