Re: com/google/protobuf/Message not found Exception

2015-02-05 Thread 张铎
I'm not familiar with Karaf so I do not know what is a feature in Karaf. But hbase-client depends on many other jars, so usually you need to deploy them all, not only the hbase-client.jar and hadoop.jar. And for java programs, some people use maven-shade-plugin to pack a big jar with all

RE: com/google/protobuf/Message not found Exception

2015-02-05 Thread Yuling_C
/google/protobuf/Message not found Exception I'm not familiar with Karaf so I do not know what is a feature in Karaf. But hbase-client depends on many other jars, so usually you need to deploy them all, not only the hbase-client.jar and hadoop.jar. And for java programs, some people use maven

Re: com/google/protobuf/Message not found Exception

2015-02-05 Thread Ted Yu
You can search in hbase source code: import com.google.protobuf.Message; ./src/main/java/org/apache/hadoop/hbase/io/HbaseObjectWritable.java com.google.protobuf.Message.class, ./src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java From dependency tree: [INFO]