[ https://issues.apache.org/jira/browse/HIVE-21939?focusedWorklogId=402645&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-402645 ]
ASF GitHub Bot logged work on HIVE-21939: ----------------------------------------- Author: ASF GitHub Bot Created on: 13/Mar/20 03:33 Start Date: 13/Mar/20 03:33 Worklog Time Spent: 10m Work Description: ZhengZhenyu commented on pull request #953: HIVE-21939: Bump protoc version in standalone metadata URL: https://github.com/apache/hive/pull/953 Standalone metadata package currently depends on proroc 2.5.0 which does not support Aarch64 platform and blocks building Hive on Aarch64. This patch proposed to bump protoc used in standalone metadata to 2.6.1, and also added a new profile that detacts hardware architecture, override the default protoc package with package from com.github.os72(it has aarch64 support) if the hardware arch is Aarch64. By doing this, we will keep the affects to current X86 users to the minimum. ---------------------------------------------------------------- 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: 402645) Time Spent: 40m (was: 0.5h) > protoc:2.5.0 dependence has broken building on aarch64 > ------------------------------------------------------- > > Key: HIVE-21939 > URL: https://issues.apache.org/jira/browse/HIVE-21939 > Project: Hive > Issue Type: Bug > Reporter: liusheng > Assignee: Zhenyu Zheng > Priority: Blocker > Labels: pull-request-available > Attachments: HIVE-21939.1.patch, HIVE-21939.2.patch, > hive_build_with_protobuf_371.log > > Time Spent: 40m > Remaining Estimate: 0h > > When I try to build master of Hive from source code on "aarch64" server, I > met following error: > [ERROR] Failed to execute goal > com.github.os72:protoc-jar-maven-plugin:3.5.1.1:run (default) on project > hive-standalone-metastore-common: Error resolving artifact: > com.google.protobuf:protoc:2.5.0: Could not find artifact > com.google.protobuf:protoc:exe:linux-aarch_64:2.5.0 in central > ([https://repo.maven.apache.org/maven2)] > that is because Hive using the "com.google.protobuf:protoc:2.5.0" as required > artifact, which does not have released package for "aarch64" platform. > Hadoop has the same problem and after some discussion, we upgraded protobuf > to version 3.7.1(https://issues.apache.org/jira/browse/HADOOP-13363) and the > work is mostly done. We can do the same in Hive. -- This message was sent by Atlassian Jira (v8.3.4#803005)