Skip to content

Commit 2906de5

Browse files
author
Bill Prin
committed
Explain how to build HBase Better
1 parent 6d51d9c commit 2906de5

File tree

2 files changed

+21
-6
lines changed

2 files changed

+21
-6
lines changed

python/rest/README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,11 @@ HBase with Bigtable on Google Cloud Platform. These changes [1]
2727
HBase project and once they are released we will no longer offer this TEMPORARY fork of HBase.
2828
***************************************************************************************************
2929

30+
31+
************************************************************************************************
3032
If you prefer, you can download the HBase src releases, and apply our patches.
3133

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

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

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

43+
`MAVEN_OPTS="-Xmx2g -XX:MaxPermSize=2g" mvn install -DskipTests
44+
assembly:single`
45+
46+
The release is built in hbase-assembly/target/hbase-1.0.1-bin.tar.gz
47+
************************************************************************************************
48+
4049

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

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

46-
These instructions must be slightly modified in order for the
47-
REST gateway to work. Instead of the official HBase release in the section
48-
"Downloading required files", you use the forked HBase binaries instead.
55+
Instead of the official HBase release in the section. "Downloading required
56+
files", you use the forked HBase binaries instead.
4957

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

python/thrift/README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ HBase with Bigtable on Google Cloud Platform. These changes [1]
2525
HBase project and once they are released we will no longer offer this TEMPORARY fork of HBase.
2626
***************************************************************************************************
2727

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

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

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

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

40+
`MAVEN_OPTS="-Xmx2g -XX:MaxPermSize=2g" mvn install -DskipTests
41+
assembly:single`
42+
43+
The release is built in hbase-assembly/target/hbase-1.0.1-bin.tar.gz
44+
************************************************************************************************
45+
3846

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

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

44-
These instructions must be slightly modified in order for the
45-
REST gateway to work. Instead of the official HBase release in the section
46-
"Downloading required files", you use the forked HBase binaries instead.
52+
Instead of the official HBase release in the section "Downloading required
53+
files", you use the forked HBase binaries instead.
4754

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

0 commit comments

Comments
 (0)