Index: src/java/org/apache/hadoop/hbase/thrift/package.html =================================================================== --- src/java/org/apache/hadoop/hbase/thrift/package.html (revision 901470) +++ src/java/org/apache/hadoop/hbase/thrift/package.html (working copy) @@ -34,14 +34,52 @@
The Hbase API is defined in the
-file Hbase.thrift. A server-side implementation of the API is in
-org.apache.hadoop.hbase.thrift.ThriftServer. The generated interfaces,
-types, and RPC utility files are checked into SVN under the
-org.apache.hadoop.hbase.thrift.generated directory.
+
Important note: This Thrift interface is deprecated and scheduled for removal in HBase 0.22.
+A new version that matches the client API that was introduced in HBase 0.21 can be found
+in the contrib directory.
+
The {@link org.apache.hadoop.hbase.thrift.generated.Hbase.Iface HBase API} is defined in the
+file Hbase.thrift>. A server-side implementation of the API is in
+{@link org.apache.hadoop.hbase.thrift.ThriftServer}. The generated interfaces,
+types, and RPC utility files reside in the
+{@link org.apache.hadoop.hbase.thrift.generated} package.
To start ThriftServer, use: +
+ ./bin/hbase-daemon.sh start thrift ++ + +
To stop, use: +
+ ./bin/hbase-daemon.sh stop thrift ++ + +These are the command line arguments the Thrift server understands in addition to
start and stop:
+-b, --bind0.0.0.0]-p, --port9090]-f, --framed-c, --compact-h, --helpHBase currently uses version 0.2.0 of Apache Thrift.
+The files were generated by running the commands:
thrift -strict --gen java:hashcode Hbase.thrift @@ -51,22 +89,9 @@The 'thrift' binary is the Thrift compiler, and it is distributed as a part -of the Thrift package. Additionally, specific language runtime libraries are a +of the Thrift package. Additionally, specific language runtime libraries are a part of the Thrift package. A version of the Java runtime is checked into SVN -under the hbase/lib directory. -
+under thehbase/libdirectory. -To start ThriftServer, use: -
- ./bin/hbase-daemon.sh start thrift [--port=PORT] --The default port is 9090. - - -To stop, use: -
- ./bin/hbase-daemon.sh stop thrift --