Package org.apache.hadoop.hbase.ipc
Class TestProtoBufRpc
java.lang.Object
org.apache.hadoop.hbase.ipc.TestProtoBufRpc
@Tag("org.apache.hadoop.hbase.testclassification.RPCTests") @Tag("org.apache.hadoop.hbase.testclassification.SmallTests")
public class TestProtoBufRpc
extends Object
Test for testing protocol buffer based RPC mechanism. This test depends on test.proto definition
of types in
src/test/protobuf/test.proto and protobuf service definition from
src/test/protobuf/test_rpc_service.proto-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprivate org.apache.hadoop.conf.Configurationprivate InetSocketAddressprivate static intprivate final Stringprivate org.apache.hadoop.hbase.ipc.RpcServerInterface -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ADDRESS
- See Also:
-
PORT
-
isa
-
conf
-
server
-
rpcServerImpl
-
-
Constructor Details
-
TestProtoBufRpc
-
-
Method Details
-
parameters
-
setUp
- Throws:
IOException
-
tearDown
- Throws:
Exception
-
testProtoBufRpc
- Throws:
Exception
-