Re: Incompatible ProtocolBuffers version for HBase-client 1.0

2017-03-20 Thread Josh Elser
Oops! Thanks for the shaded-client version correction, Sean! Sean Busbey wrote: If upgrading is an option, for HBase 1.1+ applications you can use a newer Protocol Buffers by relying on hbase-shaded-client as a dependency. On Sun, Mar 19, 2017 at 12:04 PM, Josh Elser wrote:

Re: Incompatible ProtocolBuffers version for HBase-client 1.0

2017-03-20 Thread Sean Busbey
If upgrading is an option, for HBase 1.1+ applications you can use a newer Protocol Buffers by relying on hbase-shaded-client as a dependency. On Sun, Mar 19, 2017 at 12:04 PM, Josh Elser wrote: > With Apache HBase 1.0-based applications, you must use Protocol Buffers 2.5 > in

Re: Incompatible ProtocolBuffers version for HBase-client 1.0

2017-03-19 Thread Josh Elser
With Apache HBase 1.0-based applications, you must use Protocol Buffers 2.5 in its standard package (e.g. com.google.protobuf). If you want to use another version of protobuf, you would have to shade and relocate that dependency. In newer versions of HBase (2.0 I believe it will land), does

Re: Incompatible ProtocolBuffers version for HBase-client 1.0

2017-03-17 Thread Hef
I change my application to use ProtocolBuffers 2.5 then this issue resolved. On Fri, Mar 17, 2017 at 12:36 PM, Hef wrote: > Hi group, > I have a problem using ProtocolBuffers 3 in my application with CDH5.6 > HBase 1.0. > > When creating BufferedMutator and flush data

Incompatible ProtocolBuffers version for HBase-client 1.0

2017-03-16 Thread Hef
Hi group, I have a problem using ProtocolBuffers 3 in my application with CDH5.6 HBase 1.0. When creating BufferedMutator and flush data into HBase, it shows an error as below: java.lang.NoClassDefFoundError: Could not initialize class org.apache.hadoop.hbase.util.ByteStringer at