[ https://issues.apache.org/jira/browse/HIVE-24483?focusedWorklogId=573237&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-573237 ]
ASF GitHub Bot logged work on HIVE-24483: ----------------------------------------- Author: ASF GitHub Bot Created on: 28/Mar/21 17:15 Start Date: 28/Mar/21 17:15 Worklog Time Spent: 10m Work Description: 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: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 573237) Time Spent: 2h (was: 1h 50m) > Bump protobuf version to 3.12.0 > ------------------------------- > > Key: HIVE-24483 > URL: https://issues.apache.org/jira/browse/HIVE-24483 > Project: Hive > Issue Type: Improvement > Reporter: Cameron Moberg > Priority: Minor > Labels: pull-request-available > Time Spent: 2h > Remaining Estimate: 0h > > The following protoc version's used in hive is very old i.e. 2.5.0 > [https://repo.maven.apache.org/maven2/com/google/protobuf/protoc/] . The > v2.5.0 does not have aarch64 support. But the AArch64 support started from > v3.5.0 on-words in google's protobuf project release. -- This message was sent by Atlassian Jira (v8.3.4#803005)