hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jing Zhang <jasonzh...@luminatewireless.com>
Subject A question about conflict between class 'ZeroCopyLiteralString' and latest protobuf
Date Wed, 24 May 2017 08:36:01 GMT
Hi, developers,

My company uses HBase, and in our code base, we need to use both HBase and

However, for some reason we need to upgrade protobuf to the latest version,
but I found the recent protobuf changes affect HBase. Its class
'LiteralByteString' which HBase uses has been encapsulated into a private
static class inside class 'ByteString' since protobuf 3.0.0 Beta3 (Or some
version before or after).

In class 'ZeroCopyLiteralString'
(hbase-protocol/src/main/java/com/google/protobuf/), I tried to use
'UnsafeByteOperation.unsafeWrap' instead, but failed at method

I wonder whether there is an approach in HBase to accommodate to protobuf's
change and what's you suggest to make the changes. Also, do you have plan
to change the relevant codes to be compatible with the new version of

Hope to get your help! Perhaps my question has been asked before, but I'm a
freshman to HBase it's difficult to find the topic in a large mail list. So
please share the link if it does exist.

Thanks very much!



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