|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
---|---|
AvroServer | Start an Avro server |
AvroServer.HBaseImpl | The HBaseImpl is a glue object that connects Avro RPC calls to the HBase client API primarily defined in the HBaseAdmin and HTable objects. |
AvroUtil |
Provides an HBase Avro service. This directory contains an Avro interface definition file for an HBase RPC service and a Java server implementation.
Avro is a data serialization and RPC system. For more, see the current specification.
The HBase API is defined in the
file hbase.genavro. A server-side implementation of the API is in
org.apache.hadoop.hbase.avro.AvroServer
. The generated interfaces,
types, and RPC utility files are checked into SVN under the
org.apache.hadoop.hbase.avro.generated
directory.
The files were generated by running the commands:
java -jar avro-tools-1.3.2.jar genavro hbase.genavro hbase.avpr java -jar avro-tools-1.3.2.jar compile protocol hbase.avro $HBASE_HOME/src/java
The 'avro-tools-x.y.z.jar' jarfile is an Avro utility, and it is distributed as a part of the Avro package. Additionally, specific language runtime libraries are apart of the Avro package. A version of the Java runtime is listed as a dendency in Maven.
To start AvroServer, use:
./bin/hbase avro start [--port=PORT]The default port is 9090.
To stop, use:
./bin/hbase-daemon.sh stop avro
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |