HBASE-1961; EC2 scripts; set HBASE_VERSION in hbase-ec2-init-remote.sh
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@889728 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5d8688fc3d
commit
2f968e1ce7
|
@ -13,7 +13,9 @@ if [ "$IS_MASTER" = "true" ]; then
|
||||||
MASTER_HOST=`wget -q -O - http://169.254.169.254/latest/meta-data/local-hostname`
|
MASTER_HOST=`wget -q -O - http://169.254.169.254/latest/meta-data/local-hostname`
|
||||||
fi
|
fi
|
||||||
HADOOP_HOME=`ls -d /usr/local/hadoop-*`
|
HADOOP_HOME=`ls -d /usr/local/hadoop-*`
|
||||||
|
HADOOP_VERSION=`echo $HADOOP_HOME | cut -d '-' -f 2`
|
||||||
HBASE_HOME=`ls -d /usr/local/hbase-*`
|
HBASE_HOME=`ls -d /usr/local/hbase-*`
|
||||||
|
HBASE_VERSION=`echo $HBASE_HOME | cut -d '-' -f 2`
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Hadoop configuration
|
# Hadoop configuration
|
||||||
|
|
Loading…
Reference in New Issue