You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by Apache Wiki <wi...@apache.org> on 2009/07/07 05:10:34 UTC
[Hadoop Wiki] Trivial Update of "Hbase/ThriftApi" by JoelNothman
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.
The following page has been changed by JoelNothman:
http://wiki.apache.org/hadoop/Hbase/ThriftApi
The comment on the change is:
formatting and minor shuffling
------------------------------------------------------------------------------
This page discusses the [http://incubator.apache.org/thrift/ Thrift] client API for Hbase. Thrift is both cross-platform and more lightweight than REST for many operations.
- The design documentation below is now outdated. The latest version of the Thrift API is described by [http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/thrift/Hbase.thrift?view=co Hbase.thrift].
+ The latest version of the Hbase Thrift API is described by [http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/thrift/Hbase.thrift?view=co Hbase.thrift].
-
== Using the API ==
@@ -13, +12 @@
Once Thrift is installed, use:
+ {{{
- {{{thrift --gen [lang] [hbase-root]/src/java/org/apache/hadoop/hbase/thrift/Hbase.thrift}}}
+ thrift --gen [lang] [hbase-root]/src/java/org/apache/hadoop/hbase/thrift/Hbase.thrift
+ }}}
''lang'' should be one of {{{java}}}, {{{cpp}}}, {{{rb}}}, {{{py}}}, {{{perl}}} or another language listed in Hbase.thrift.
@@ -23, +24 @@
The Thrift server can be started with:
+ {{{
- {{{[hbase-root]/bin/hbase thrift start}}}
+ [hbase-root]/bin/hbase thrift start
+ }}}
=== Using with Python ===
@@ -50, +53 @@
== Data Type Spec ==
+ This design documentation is now outdated. See Hbase.thrift for an up-to-date API.
+
This section contains the definitions of Thrift data types needed for communication.
==== columnDescriptor ====