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 2010/01/12 19:13:21 UTC
svn commit: r898450 - in /hadoop/hbase/trunk: CHANGES.txt
src/contrib/build-contrib.xml src/contrib/ec2/bin/hbase-ec2-env.sh
src/contrib/ec2/bin/image/create-hbase-image-remote src/contrib/ec2/build.xml
Author: apurtell
Date: Tue Jan 12 18:13:20 2010
New Revision: 898450
URL: http://svn.apache.org/viewvc?rev=898450&view=rev
Log:
HBASE-2103 [EC2] pull version from build
Added:
hadoop/hbase/trunk/src/contrib/ec2/build.xml
Modified:
hadoop/hbase/trunk/CHANGES.txt
hadoop/hbase/trunk/src/contrib/build-contrib.xml
hadoop/hbase/trunk/src/contrib/ec2/bin/hbase-ec2-env.sh
hadoop/hbase/trunk/src/contrib/ec2/bin/image/create-hbase-image-remote
Modified: hadoop/hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/CHANGES.txt?rev=898450&r1=898449&r2=898450&view=diff
==============================================================================
--- hadoop/hbase/trunk/CHANGES.txt (original)
+++ hadoop/hbase/trunk/CHANGES.txt Tue Jan 12 18:13:20 2010
@@ -298,6 +298,7 @@
HBASE-2107 Upgrading Lucene 2.2 to Lucene 3.0.0 (Kay Kay via Stack)
HBASE-2111 Move to ivy broke our being able to run in-place; i.e.
./bin/start-hbase.sh in a checkout
+ HBASE-2103 [EC2] pull version from build
NEW FEATURES
HBASE-1901 "General" partitioner for "hbase-48" bulk (behind the api, write
Modified: hadoop/hbase/trunk/src/contrib/build-contrib.xml
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/contrib/build-contrib.xml?rev=898450&r1=898449&r2=898450&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/contrib/build-contrib.xml (original)
+++ hadoop/hbase/trunk/src/contrib/build-contrib.xml Tue Jan 12 18:13:20 2010
@@ -21,7 +21,7 @@
<project name="hbasebuildcontrib">
- <property name="version" value="0.20.0"/>
+ <property name="version" value="0.20.3"/>
<property name="name" value="${ant.project.name}"/>
<!-- Load all the default properties, and any the user wants -->
Modified: hadoop/hbase/trunk/src/contrib/ec2/bin/hbase-ec2-env.sh
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/contrib/ec2/bin/hbase-ec2-env.sh?rev=898450&r1=898449&r2=898450&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/contrib/ec2/bin/hbase-ec2-env.sh (original)
+++ hadoop/hbase/trunk/src/contrib/ec2/bin/hbase-ec2-env.sh Tue Jan 12 18:13:20 2010
@@ -34,7 +34,7 @@
EC2_ROOT_SSH_KEY=
# The version of HBase to use.
-HBASE_VERSION=0.20.3-dev
+HBASE_VERSION=@HBASE_VERSION@
# The version of Hadoop to use.
HADOOP_VERSION=0.20.1
@@ -42,8 +42,7 @@
# The Amazon S3 bucket where the HBase AMI is stored.
# Change this value only if you are creating your own (private) AMI
# so you can store it in a bucket you own.
-#S3_BUCKET=hbase-images
-S3_BUCKET=iridiant-bundles
+S3_BUCKET=apache-hbase-images
# Enable public access web interfaces
ENABLE_WEB_PORTS=false
Modified: hadoop/hbase/trunk/src/contrib/ec2/bin/image/create-hbase-image-remote
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/contrib/ec2/bin/image/create-hbase-image-remote?rev=898450&r1=898449&r2=898450&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/contrib/ec2/bin/image/create-hbase-image-remote (original)
+++ hadoop/hbase/trunk/src/contrib/ec2/bin/image/create-hbase-image-remote Tue Jan 12 18:13:20 2010
@@ -37,7 +37,7 @@
# Install Java
echo "Downloading and installing java binary."
cd /usr/local
-wget -nv -O java.bin http://iridiant.s3.amazonaws.com/jdk/jdk-${JAVA_VERSION}-linux-${arch}.bin
+wget -nv -O java.bin http://hbase.s3.amazonaws.com/jdk/jdk-${JAVA_VERSION}-linux-${arch}.bin
sh java.bin
rm -f java.bin
@@ -66,7 +66,7 @@
# Install HBase
echo "Installing HBase $HBASE_VERSION."
cd /usr/local
-wget -nv http://iridiant.s3.amazonaws.com/hbase/hbase-$HBASE_VERSION.tar.gz
+wget -nv http://hbase.s3.amazonaws.com/hbase/hbase-$HBASE_VERSION.tar.gz
tar xzf hbase-$HBASE_VERSION.tar.gz
rm -f hbase-$HBASE_VERSION.tar.gz
@@ -97,7 +97,7 @@
# Install LZO
echo "Installing LZO codec support"
-wget -nv -O /tmp/lzo-linux-${HADOOP_VERSION}.tar.gz http://iridiant.s3.amazonaws.com/hbase/lzo-linux-${HADOOP_VERSION}.tar.gz
+wget -nv -O /tmp/lzo-linux-${HADOOP_VERSION}.tar.gz http://hbase.s3.amazonaws.com/hbase/lzo-linux-${HADOOP_VERSION}.tar.gz
cd /usr/local/hadoop-${HADOOP_VERSION} && tar xzf /tmp/lzo-linux-${HADOOP_VERSION}.tar.gz
cd /usr/local/hbase-${HBASE_VERSION} && tar xzf /tmp/lzo-linux-${HADOOP_VERSION}.tar.gz
rm -f /tmp/lzo-linux-${HADOOP_VERSION}.tar.gz
Added: hadoop/hbase/trunk/src/contrib/ec2/build.xml
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/contrib/ec2/build.xml?rev=898450&view=auto
==============================================================================
--- hadoop/hbase/trunk/src/contrib/ec2/build.xml (added)
+++ hadoop/hbase/trunk/src/contrib/ec2/build.xml Tue Jan 12 18:13:20 2010
@@ -0,0 +1,40 @@
+<project name="ec2" default="package" basedir=".">
+ <import file="../build-contrib.xml"/>
+
+ <target name="compile">
+ <copy todir="${build.dir}">
+ <fileset dir="${root}">
+ <exclude name="build.xml"/>
+ </fileset>
+ </copy>
+ <exec executable="sed">
+ <arg value="-i"/>
+ <arg value="-e"/> <arg value="s/@HBASE_VERSION@/${version}/g"/>
+ <arg value="${build.dir}/bin/hbase-ec2-env.sh"/>
+ </exec>
+ </target>
+
+ <target name="package" depends="compile">
+ <mkdir dir="${dist.dir}/contrib/${name}"/>
+ <copy todir="${dist.dir}/contrib/${name}">
+ <fileset dir="${build.dir}"/>
+ </copy>
+ <exec executable="chmod">
+ <arg value="755"/>
+ <arg value="${dist.dir}/contrib/${name}/bin/hbase-ec2"/>
+ <arg value="${dist.dir}/contrib/${name}/bin/cmd-hbase-cluster"/>
+ <arg value="${dist.dir}/contrib/${name}/bin/create-hbase-image"/>
+ <arg value="${dist.dir}/contrib/${name}/bin/delete-hbase-cluster"/>
+ <arg value="${dist.dir}/contrib/${name}/bin/init-hbase-cluster-secgroups"/>
+ <arg value="${dist.dir}/contrib/${name}/bin/launch-hbase-cluster"/>
+ <arg value="${dist.dir}/contrib/${name}/bin/launch-hbase-master"/>
+ <arg value="${dist.dir}/contrib/${name}/bin/launch-hbase-slaves"/>
+ <arg value="${dist.dir}/contrib/${name}/bin/launch-hbase-zookeeper"/>
+ <arg value="${dist.dir}/contrib/${name}/bin/list-hbase-clusters"/>
+ <arg value="${dist.dir}/contrib/${name}/bin/revoke-hbase-cluster-secgroups"/>
+ <arg value="${dist.dir}/contrib/${name}/bin/terminate-hbase-cluster"/>
+ <arg value="${dist.dir}/contrib/${name}/bin/image/create-hbase-image-remote"/>
+ </exec>
+ </target>
+
+</project>