hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cheyenne Forbes <cheyenne.osanu.for...@gmail.com>
Subject Why do I get ServiceException?
Date Sun, 28 May 2017 17:01:09 GMT
I'm getting *com.google.protobuf.ServiceException *when I try:







*        Configuration conf = HBaseConfiguration.create();
try{            Connection connection =
ConnectionFactory.createConnection(conf);            Table table =
connection.getTable(TableName.valueOf(Bytes.toBytes( "users" )));
            MyPB.TestRequest request = *



*MyPB.TestRequest.newBuilder().setId("test_id").build();
            CoprocessorRpcChannel channel =
table.coprocessorService(Bytes.toBytes("test_id"));
    **MyPB.TestService.BlockingInterface
service = *


*MyPB.TestService.newBlockingStub(channel);        LOG.warning("avapnoAVO
9");                        **MyPB.TestResponse response =
service.getTestRes(null, request);*

Regards,

Cheyenne O. Forbes

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message