You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2011/03/12 07:31:39 UTC
svn commit: r1080869 - in /hbase/branches/0.90: CHANGES.txt
src/examples/thrift/DemoClient.cpp src/examples/thrift/DemoClient.java
src/examples/thrift/DemoClient.php src/examples/thrift/DemoClient.py
src/examples/thrift/DemoClient.rb
Author: stack
Date: Sat Mar 12 06:31:38 2011
New Revision: 1080869
URL: http://svn.apache.org/viewvc?rev=1080869&view=rev
Log:
HBASE-3626 Update instructions in thrift demo files
Modified:
hbase/branches/0.90/CHANGES.txt
hbase/branches/0.90/src/examples/thrift/DemoClient.cpp
hbase/branches/0.90/src/examples/thrift/DemoClient.java
hbase/branches/0.90/src/examples/thrift/DemoClient.php
hbase/branches/0.90/src/examples/thrift/DemoClient.py
hbase/branches/0.90/src/examples/thrift/DemoClient.rb
Modified: hbase/branches/0.90/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/branches/0.90/CHANGES.txt?rev=1080869&r1=1080868&r2=1080869&view=diff
==============================================================================
--- hbase/branches/0.90/CHANGES.txt (original)
+++ hbase/branches/0.90/CHANGES.txt Sat Mar 12 06:31:38 2011
@@ -23,6 +23,7 @@ Release 0.90.2 - February 9th, 2011
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-3542 MultiGet methods in Thrift
Modified: hbase/branches/0.90/src/examples/thrift/DemoClient.cpp
URL: http://svn.apache.org/viewvc/hbase/branches/0.90/src/examples/thrift/DemoClient.cpp?rev=1080869&r1=1080868&r2=1080869&view=diff
==============================================================================
--- hbase/branches/0.90/src/examples/thrift/DemoClient.cpp (original)
+++ hbase/branches/0.90/src/examples/thrift/DemoClient.cpp Sat Mar 12 06:31:38 2011
@@ -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}.
*/
Modified: hbase/branches/0.90/src/examples/thrift/DemoClient.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.90/src/examples/thrift/DemoClient.java?rev=1080869&r1=1080868&r2=1080869&view=diff
==============================================================================
--- hbase/branches/0.90/src/examples/thrift/DemoClient.java (original)
+++ hbase/branches/0.90/src/examples/thrift/DemoClient.java Sat Mar 12 06:31:38 2011
@@ -50,7 +50,7 @@ import com.facebook.thrift.transport.TTr
/*
* 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
Modified: hbase/branches/0.90/src/examples/thrift/DemoClient.php
URL: http://svn.apache.org/viewvc/hbase/branches/0.90/src/examples/thrift/DemoClient.php?rev=1080869&r1=1080868&r2=1080869&view=diff
==============================================================================
--- hbase/branches/0.90/src/examples/thrift/DemoClient.php (original)
+++ hbase/branches/0.90/src/examples/thrift/DemoClient.php Sat Mar 12 06:31:38 2011
@@ -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.
Modified: hbase/branches/0.90/src/examples/thrift/DemoClient.py
URL: http://svn.apache.org/viewvc/hbase/branches/0.90/src/examples/thrift/DemoClient.py?rev=1080869&r1=1080868&r2=1080869&view=diff
==============================================================================
--- hbase/branches/0.90/src/examples/thrift/DemoClient.py (original)
+++ hbase/branches/0.90/src/examples/thrift/DemoClient.py Sat Mar 12 06:31:38 2011
@@ -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).
Modified: hbase/branches/0.90/src/examples/thrift/DemoClient.rb
URL: http://svn.apache.org/viewvc/hbase/branches/0.90/src/examples/thrift/DemoClient.rb?rev=1080869&r1=1080868&r2=1080869&view=diff
==============================================================================
--- hbase/branches/0.90/src/examples/thrift/DemoClient.rb (original)
+++ hbase/branches/0.90/src/examples/thrift/DemoClient.rb Sat Mar 12 06:31:38 2011
@@ -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}.