HBASE-4243 HADOOP_HOME should be auto-detected (Roman Shaposhnik) -- revert.. non-portable shell change
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1166815 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
625d68ee6a
commit
845b01f154
|
@ -463,7 +463,6 @@ Release 0.91.0 - Unreleased
|
|||
HBASE-4342 Update Thrift to 0.7.0 (Moaz Reyad)
|
||||
HBASE-4260 Expose a command to manually trigger an HLog roll
|
||||
(ramkrishna.s.vasudevan)
|
||||
HBASE-4243 HADOOP_HOME should be auto-detected (Roman Shaposhnik)
|
||||
|
||||
TASKS
|
||||
HBASE-3559 Move report of split to master OFF the heartbeat channel
|
||||
|
|
|
@ -205,14 +205,6 @@ function append_path() {
|
|||
|
||||
JAVA_PLATFORM=""
|
||||
|
||||
#Try to guess HADOOP_HOME
|
||||
if [ -z "$HADOOP_HOME" ]; then
|
||||
HADOOP_IN_PATH=$(readlink -f "$(which hadoop 2>/dev/null)")
|
||||
if [ -f "${HADOOP_IN_PATH}" ]; then
|
||||
HADOOP_HOME=$(readlink -f "$(dirname ${HADOOP_IN_PATH})"/..)
|
||||
fi
|
||||
fi
|
||||
|
||||
#If avail, add Hadoop to the CLASSPATH and to the JAVA_LIBRARY_PATH
|
||||
if [ ! -z $HADOOP_HOME ]; then
|
||||
HADOOPCPPATH=""
|
||||
|
|
Loading…
Reference in New Issue