HBASE-3626 Update instructions in thrift demo files
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1080868 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
30d63d550f
commit
2501de1c3f
|
@ -64,6 +64,7 @@ Release 0.91.0 - Unreleased
|
|||
hbase.version; use alternate strategy for waiting for DNs
|
||||
HBASE-3612 HBaseAdmin::isTableAvailable returns true when the table does
|
||||
not exit
|
||||
HBASE-3626 Update instructions in thrift demo files (Moaz Reyad via Stack)
|
||||
|
||||
IMPROVEMENTS
|
||||
HBASE-3290 Max Compaction Size (Nicolas Spiegelberg via Stack)
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
/*
|
||||
* Instructions:
|
||||
* 1. Run Thrift to generate the cpp module HBase
|
||||
* thrift --gen cpp ../../../src/java/org/apache/hadoop/hbase/thrift/Hbase.thrift
|
||||
* thrift --gen cpp ../../../src/main/resources/org/apache/hadoop/hbase/thrift/Hbase.thrift
|
||||
* 2. Execute {make}.
|
||||
* 3. Execute {./DemoClient}.
|
||||
*/
|
||||
|
|
|
@ -50,7 +50,7 @@ import com.facebook.thrift.transport.TTransport;
|
|||
/*
|
||||
* Instructions:
|
||||
* 1. Run Thrift to generate the java module HBase
|
||||
* thrift --gen java ../../../src/java/org/apache/hadoop/hbase/thrift/Hbase.thrift
|
||||
* thrift --gen java ../../../src/main/resources/org/apache/hadoop/hbase/thrift/Hbase.thrift
|
||||
* 2. Acquire a jar of compiled Thrift java classes. As of this writing, HBase ships
|
||||
* with this jar (libthrift-[VERSION].jar). If this jar is not present, or it is
|
||||
* out-of-date with your current version of thrift, you can compile the jar
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
# Instructions:
|
||||
# 1. Run Thrift to generate the php module HBase
|
||||
# thrift -php ../../../src/java/org/apache/hadoop/hbase/thrift/Hbase.thrift
|
||||
# thrift -php ../../../src/main/resources/org/apache/hadoop/hbase/thrift/Hbase.thrift
|
||||
# 2. Modify the import string below to point to {$THRIFT_HOME}/lib/php/src.
|
||||
# 3. Execute {php DemoClient.php}. Note that you must use php5 or higher.
|
||||
# 4. See {$THRIFT_HOME}/lib/php/README for additional help.
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
# Instructions:
|
||||
# 1. Run Thrift to generate the perl module HBase
|
||||
# thrift --gen perl ../../../src/java/org/apache/hadoop/hbase/thrift/Hbase.thrift
|
||||
# thrift --gen perl ../../../src/main/resources/org/apache/hadoop/hbase/thrift/Hbase.thrift
|
||||
# 2. Add the gen-perl/Hbase directory to your perl's @INC path:
|
||||
# a. This is one of the paths listed in: perl -e 'print join ("\n", @INC) . "\n"'
|
||||
# -OR-
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
'''
|
||||
# Instructions:
|
||||
# 1. Run Thrift to generate the python module HBase
|
||||
# thrift --gen py ../../../src/java/org/apache/hadoop/hbase/thrift/Hbase.thrift
|
||||
# thrift --gen py ../../../src/main/resources/org/apache/hadoop/hbase/thrift/Hbase.thrift
|
||||
# 2. Create a directory of your choosing that contains:
|
||||
# a. This file (DemoClient.py).
|
||||
# b. The directory gen-py/hbase (generated by instruction step 1).
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
# Instructions:
|
||||
# 1. Run Thrift to generate the ruby module HBase
|
||||
# thrift --gen rb ../../../src/java/org/apache/hadoop/hbase/thrift/Hbase.thrift
|
||||
# thrift --gen rb ../../../src/main/resources/org/apache/hadoop/hbase/thrift/Hbase.thrift
|
||||
# 2. Modify the import string below to point to {$THRIFT_HOME}/lib/rb/lib.
|
||||
# 3. Execute {ruby DemoClient.rb}.
|
||||
|
||||
|
|
Loading…
Reference in New Issue