[ 
https://issues.apache.org/jira/browse/HIVE-21939?focusedWorklogId=442112&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-442112
 ]

ASF GitHub Bot logged work on HIVE-21939:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 06/Jun/20 00:24
            Start Date: 06/Jun/20 00:24
    Worklog Time Spent: 10m 
      Work Description: github-actions[bot] commented on pull request #953:
URL: https://github.com/apache/hive/pull/953#issuecomment-639913855


   This pull request has been automatically marked as stale because it has not 
had recent activity. It will be closed if no further activity occurs.
   Feel free to reach out on the d...@hive.apache.org list if the patch is in 
need of reviews.


----------------------------------------------------------------
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: 442112)
    Time Spent: 1h  (was: 50m)

> 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
>             Fix For: 4.0.0
>
>         Attachments: HIVE-21939.1.patch, HIVE-21939.2.patch, 
> hive_build_with_protobuf_371.log
>
>          Time Spent: 1h
>  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.
>  
> In order to fix this, I bumped the protobuf used in standalone-metadata to 
> 2.6.1 and added a new profile, this profile will identify
> the hardware architecture and if it is Aarch64, it will override the protobuf 
> [group.id|http://group.id/] and package to com.github.os72 which
> includes ARM support. For X86 platform, Hive will still download the protobuf 
> packages from org.google repo. With this method,
> we can make Hive able to run on Aarch64 and keep the influence to existing 
> x86 users to the minimum.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to