hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1080868 - in /hbase/trunk: ./ src/examples/thrift/
Date Sat, 12 Mar 2011 06:30:41 GMT
Author: stack
Date: Sat Mar 12 06:30:40 2011
New Revision: 1080868

URL: http://svn.apache.org/viewvc?rev=1080868&view=rev
Log:
HBASE-3626 Update instructions in thrift demo files

Modified:
    hbase/trunk/CHANGES.txt
    hbase/trunk/src/examples/thrift/DemoClient.cpp
    hbase/trunk/src/examples/thrift/DemoClient.java
    hbase/trunk/src/examples/thrift/DemoClient.php
    hbase/trunk/src/examples/thrift/DemoClient.pl
    hbase/trunk/src/examples/thrift/DemoClient.py
    hbase/trunk/src/examples/thrift/DemoClient.rb

Modified: hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/trunk/CHANGES.txt?rev=1080868&r1=1080867&r2=1080868&view=diff
==============================================================================
--- hbase/trunk/CHANGES.txt (original)
+++ hbase/trunk/CHANGES.txt Sat Mar 12 06:30:40 2011
@@ -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)  

Modified: hbase/trunk/src/examples/thrift/DemoClient.cpp
URL: http://svn.apache.org/viewvc/hbase/trunk/src/examples/thrift/DemoClient.cpp?rev=1080868&r1=1080867&r2=1080868&view=diff
==============================================================================
--- hbase/trunk/src/examples/thrift/DemoClient.cpp (original)
+++ hbase/trunk/src/examples/thrift/DemoClient.cpp Sat Mar 12 06:30:40 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/trunk/src/examples/thrift/DemoClient.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/examples/thrift/DemoClient.java?rev=1080868&r1=1080867&r2=1080868&view=diff
==============================================================================
--- hbase/trunk/src/examples/thrift/DemoClient.java (original)
+++ hbase/trunk/src/examples/thrift/DemoClient.java Sat Mar 12 06:30:40 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/trunk/src/examples/thrift/DemoClient.php
URL: http://svn.apache.org/viewvc/hbase/trunk/src/examples/thrift/DemoClient.php?rev=1080868&r1=1080867&r2=1080868&view=diff
==============================================================================
--- hbase/trunk/src/examples/thrift/DemoClient.php (original)
+++ hbase/trunk/src/examples/thrift/DemoClient.php Sat Mar 12 06:30:40 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/trunk/src/examples/thrift/DemoClient.pl
URL: http://svn.apache.org/viewvc/hbase/trunk/src/examples/thrift/DemoClient.pl?rev=1080868&r1=1080867&r2=1080868&view=diff
==============================================================================
--- hbase/trunk/src/examples/thrift/DemoClient.pl (original)
+++ hbase/trunk/src/examples/thrift/DemoClient.pl Sat Mar 12 06:30:40 2011
@@ -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-

Modified: hbase/trunk/src/examples/thrift/DemoClient.py
URL: http://svn.apache.org/viewvc/hbase/trunk/src/examples/thrift/DemoClient.py?rev=1080868&r1=1080867&r2=1080868&view=diff
==============================================================================
--- hbase/trunk/src/examples/thrift/DemoClient.py (original)
+++ hbase/trunk/src/examples/thrift/DemoClient.py Sat Mar 12 06:30:40 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/trunk/src/examples/thrift/DemoClient.rb
URL: http://svn.apache.org/viewvc/hbase/trunk/src/examples/thrift/DemoClient.rb?rev=1080868&r1=1080867&r2=1080868&view=diff
==============================================================================
--- hbase/trunk/src/examples/thrift/DemoClient.rb (original)
+++ hbase/trunk/src/examples/thrift/DemoClient.rb Sat Mar 12 06:30:40 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}.
 



Mime
View raw message