hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject svn commit: r889729 - /hadoop/hbase/branches/0.20/src/contrib/ec2/bin/hbase-ec2-init-remote.sh
Date Fri, 11 Dec 2009 17:51:19 GMT
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



Mime
View raw message