Your code snippet is formatted in a strange way. Can you pastebin: code snippet copied from Eclipse (or text editor of your choice) complete stack trace for the ServiceException
Which version of hbase are you using ? Was there any other protobuf jar in the classpath ? Cheers On Sun, May 28, 2017 at 10:01 AM, Cheyenne Forbes < [email protected]> wrote: > 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 >
