HADOOP-8386. hadoop script doesn't work if 'cd' prints to stdout (default behavior in Ubuntu). Contributed by Christopher Berner and Andy Isaacson. (harsh)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1391780 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
648ba4a36b
commit
34becbb019
|
@ -250,6 +250,10 @@ Trunk (Unreleased)
|
||||||
HADOOP-3957. Change MutableQuantiles to use a shared thread for rolling
|
HADOOP-3957. Change MutableQuantiles to use a shared thread for rolling
|
||||||
over metrics. (Andrew Wang via todd)
|
over metrics. (Andrew Wang via todd)
|
||||||
|
|
||||||
|
HADOOP-8386. hadoop script doesn't work if 'cd' prints to stdout
|
||||||
|
(default behavior in some bash setups (esp. Ubuntu))
|
||||||
|
(Chiristopher Berner and Andy Isaacson via harsh)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
HADOOP-7761. Improve the performance of raw comparisons. (todd)
|
HADOOP-7761. Improve the performance of raw comparisons. (todd)
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
bin=`which $0`
|
bin=`which $0`
|
||||||
bin=`dirname ${bin}`
|
bin=`dirname ${bin}`
|
||||||
bin=`cd "$bin"; pwd`
|
bin=`cd "$bin" > /dev/null; pwd`
|
||||||
|
|
||||||
DEFAULT_LIBEXEC_DIR="$bin"/../libexec
|
DEFAULT_LIBEXEC_DIR="$bin"/../libexec
|
||||||
HADOOP_LIBEXEC_DIR=${HADOOP_LIBEXEC_DIR:-$DEFAULT_LIBEXEC_DIR}
|
HADOOP_LIBEXEC_DIR=${HADOOP_LIBEXEC_DIR:-$DEFAULT_LIBEXEC_DIR}
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
bin=`which $0`
|
bin=`which $0`
|
||||||
bin=`dirname ${bin}`
|
bin=`dirname ${bin}`
|
||||||
bin=`cd "$bin"; pwd`
|
bin=`cd "$bin" > /dev/null; pwd`
|
||||||
|
|
||||||
DEFAULT_LIBEXEC_DIR="$bin"/../libexec
|
DEFAULT_LIBEXEC_DIR="$bin"/../libexec
|
||||||
HADOOP_LIBEXEC_DIR=${HADOOP_LIBEXEC_DIR:-$DEFAULT_LIBEXEC_DIR}
|
HADOOP_LIBEXEC_DIR=${HADOOP_LIBEXEC_DIR:-$DEFAULT_LIBEXEC_DIR}
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
bin=`which $0`
|
bin=`which $0`
|
||||||
bin=`dirname ${bin}`
|
bin=`dirname ${bin}`
|
||||||
bin=`cd "$bin"; pwd`
|
bin=`cd "$bin" > /dev/null; pwd`
|
||||||
|
|
||||||
DEFAULT_LIBEXEC_DIR="$bin"/../libexec
|
DEFAULT_LIBEXEC_DIR="$bin"/../libexec
|
||||||
HADOOP_LIBEXEC_DIR=${HADOOP_LIBEXEC_DIR:-$DEFAULT_LIBEXEC_DIR}
|
HADOOP_LIBEXEC_DIR=${HADOOP_LIBEXEC_DIR:-$DEFAULT_LIBEXEC_DIR}
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
bin=`dirname "${BASH_SOURCE-$0}"`
|
bin=`dirname "${BASH_SOURCE-$0}"`
|
||||||
bin=`cd "$bin"; pwd`
|
bin=`cd "$bin" > /dev/null; pwd`
|
||||||
|
|
||||||
DEFAULT_LIBEXEC_DIR="$bin"/../libexec
|
DEFAULT_LIBEXEC_DIR="$bin"/../libexec
|
||||||
HADOOP_LIBEXEC_DIR=${HADOOP_LIBEXEC_DIR:-$DEFAULT_LIBEXEC_DIR}
|
HADOOP_LIBEXEC_DIR=${HADOOP_LIBEXEC_DIR:-$DEFAULT_LIBEXEC_DIR}
|
||||||
|
|
Loading…
Reference in New Issue