Skip to content

Commit

Permalink
Explain how to build HBase Better
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill Prin committed May 13, 2015
1 parent 6d51d9c commit 2906de5
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 6 deletions.
14 changes: 11 additions & 3 deletions python/rest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,11 @@ HBase with Bigtable on Google Cloud Platform. These changes [1]
HBase project and once they are released we will no longer offer this TEMPORARY fork of HBase.
***************************************************************************************************


************************************************************************************************
If you prefer, you can download the HBase src releases, and apply our patches.


`curl -f -O http://mirror.reverse.net/pub/apache/hbase/hbase-1.0.1/hbase-1.0.1-src.tar.gz`

`tar -xzf hbase-1.0.1-src.tar.gz`
Expand All @@ -37,15 +40,20 @@ If you prefer, you can download the HBase src releases, and apply our patches.

`patch -p1 < fix-bigtable-rest-thrift.patch`

`MAVEN_OPTS="-Xmx2g -XX:MaxPermSize=2g" mvn install -DskipTests
assembly:single`

The release is built in hbase-assembly/target/hbase-1.0.1-bin.tar.gz
************************************************************************************************


Once you have the HBase client, instructions for installing an HBase client for
Cloud Bigtable can be found here:

https://cloud-dot-devsite.googleplex.com/bigtable/docs/installing-hbase-client

These instructions must be slightly modified in order for the
REST gateway to work. Instead of the official HBase release in the section
"Downloading required files", you use the forked HBase binaries instead.
Instead of the official HBase release in the section. "Downloading required
files", you use the forked HBase binaries instead.

Then, to start the REST gateway, from the HBase release directory

Expand Down
13 changes: 10 additions & 3 deletions python/thrift/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ HBase with Bigtable on Google Cloud Platform. These changes [1]
HBase project and once they are released we will no longer offer this TEMPORARY fork of HBase.
***************************************************************************************************

************************************************************************************************
If you prefer, you can download the HBase src releases, and apply our patches.


`curl -f -O http://mirror.reverse.net/pub/apache/hbase/hbase-1.0.1/hbase-1.0.1-src.tar.gz`

`tar -xzf hbase-1.0.1-src.tar.gz`
Expand All @@ -35,15 +37,20 @@ If you prefer, you can download the HBase src releases, and apply our patches.

`patch -p1 < fix-bigtable-rest-thrift.patch`

`MAVEN_OPTS="-Xmx2g -XX:MaxPermSize=2g" mvn install -DskipTests
assembly:single`

The release is built in hbase-assembly/target/hbase-1.0.1-bin.tar.gz
************************************************************************************************


Once you have the HBase client, instructions for installing an HBase client for
Cloud Bigtable can be found here:

https://cloud-dot-devsite.googleplex.com/bigtable/docs/installing-hbase-client

These instructions must be slightly modified in order for the
REST gateway to work. Instead of the official HBase release in the section
"Downloading required files", you use the forked HBase binaries instead.
Instead of the official HBase release in the section "Downloading required
files", you use the forked HBase binaries instead.

Then, to start the Thrift gateway, from the HBase release directory

Expand Down

0 comments on commit 2906de5

Please sign in to comment.