coufon commented on pull request #1975:
URL: https://github.com/apache/hive/pull/1975#issuecomment-808926843


   > > Both tests failed with the error `java.lang.NoClassDefFoundError: 
com/google/protobuf/LiteralByteString`
   > > It looks like we should just updated LiteralByteString to use a plain 
ByteString based on the implementation, what do you think?
   > > 
https://github.com/protocolbuffers/protobuf/blob/c9d2bd2fc781fe67ebf306807b9b6edb4a0d2764/java/core/src/main/java/com/google/protobuf/ByteString.java#L1187
   > 
   > > Both tests failed with the error `java.lang.NoClassDefFoundError: 
com/google/protobuf/LiteralByteString`
   > > It looks like we should just updated LiteralByteString to use a plain 
ByteString based on the implementation, what do you think?
   > > 
https://github.com/protocolbuffers/protobuf/blob/c9d2bd2fc781fe67ebf306807b9b6edb4a0d2764/java/core/src/main/java/com/google/protobuf/ByteString.java#L1187
   > 
   > Thanks for finding out the error. The compatibility between HBase and 
gRPC3 is a known issue: https://issues.apache.org/jira/browse/HBASE-21587. The 
suggested solution is to use hbase-shaded-client that isolates the 
dependencies. Let me try that.
   
   shaded dependencies are disallowed: 
https://github.com/apache/hive/blob/master/pom.xml#L1451. So I copied the files 
that use "LiteralByteString" into a local ProtobufUtils class, and removed the 
use of "LiteralByteString".


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to