You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ap...@apache.org on 2009/12/11 18:51:19 UTC

svn commit: r889729 - /hadoop/hbase/branches/0.20/src/contrib/ec2/bin/hbase-ec2-init-remote.sh

Author: apurtell
Date: Fri Dec 11 17:51:18 2009
New Revision: 889729

URL: http://svn.apache.org/viewvc?rev=889729&view=rev
Log:
HBASE-1961; EC2 scripts; set HBASE_VERSION in hbase-ec2-init-remote.sh

Modified:
    hadoop/hbase/branches/0.20/src/contrib/ec2/bin/hbase-ec2-init-remote.sh

Modified: hadoop/hbase/branches/0.20/src/contrib/ec2/bin/hbase-ec2-init-remote.sh
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.20/src/contrib/ec2/bin/hbase-ec2-init-remote.sh?rev=889729&r1=889728&r2=889729&view=diff
==============================================================================
--- hadoop/hbase/branches/0.20/src/contrib/ec2/bin/hbase-ec2-init-remote.sh (original)
+++ hadoop/hbase/branches/0.20/src/contrib/ec2/bin/hbase-ec2-init-remote.sh Fri Dec 11 17:51:18 2009
@@ -13,7 +13,9 @@
  MASTER_HOST=`wget -q -O - http://169.254.169.254/latest/meta-data/local-hostname`
 fi
 HADOOP_HOME=`ls -d /usr/local/hadoop-*`
+HADOOP_VERSION=`echo $HADOOP_HOME | cut -d '-' -f 2`
 HBASE_HOME=`ls -d /usr/local/hbase-*`
+HBASE_VERSION=`echo $HBASE_HOME | cut -d '-' -f 2`
 
 ###############################################################################
 # Hadoop configuration