-
Notifications
You must be signed in to change notification settings - Fork 525
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add hbase backend to Travis CI tests
Change-Id: I01cd1b8d764249f2f6570129409f889fd8e06ceb
- Loading branch information
Showing
5 changed files
with
62 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0"?> | ||
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?> | ||
<configuration> | ||
<property> | ||
<name>hbase.rootdir</name> | ||
<value>/tmp/hbase</value> | ||
</property> | ||
<property> | ||
<name>hbase.zookeeper.property.dataDir</name> | ||
<value>/tmp/zookeeper</value> | ||
</property> | ||
<property> | ||
<name>hbase.zookeeper.property.maxClientCnxns</name> | ||
<value>0</value> | ||
</property> | ||
<property> | ||
<name>zookeeper.session.timeout</name> | ||
<value>1200000</value> | ||
</property> | ||
<property> | ||
<name>hbase.zookeeper.property.tickTime</name> | ||
<value>6000</value> | ||
</property> | ||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
set -ev | ||
|
||
TRAVIS_DIR=`dirname $0` | ||
|
||
# download hbase | ||
if [ ! -f $HOME/downloads/hbase-2.0.1-bin.tar.gz ]; then | ||
sudo wget -q -O $HOME/downloads/hbase-2.0.1-bin.tar.gz http://apache.cs.utah.edu/hbase/2.0.1/hbase-2.0.1-bin.tar.gz | ||
fi | ||
|
||
# decompress hbase | ||
sudo cp $HOME/downloads/hbase-2.0.1-bin.tar.gz hbase-2.0.1-bin.tar.gz && tar xzf hbase-2.0.1-bin.tar.gz | ||
|
||
# config hbase | ||
sudo rm -f hbase-2.0.1/conf/hbase-site.xml && sudo cp $TRAVIS_DIR/hbase-site.xml hbase-2.0.1/conf | ||
|
||
# start hbase service | ||
sudo hbase-2.0.1/bin/start-hbase.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters