Jun He created BIGTOP-3548:
------------------------------

             Summary: Hive build failure caused by protoc-jar-maven-plugin 
missing aarch64 support
                 Key: BIGTOP-3548
                 URL: https://issues.apache.org/jira/browse/BIGTOP-3548
             Project: Bigtop
          Issue Type: Bug
          Components: hive
            Reporter: Jun He
            Assignee: Jun He


Failed to build Standalone Metastore and output following log on reason:
{code:java}
[ERROR] Failed to execute goal 
^[com.github.os72:protoc-jar-maven-plugin:3.5.1.1:run^[[m ^[[1m(default)^[[m on 
project ^[[36mhive-standalone-metastore^[[m: ^[[1;31mError resolving artifact: 
com.google.protobuf:protoc:2.5.0^[[m: Failure to find 
com.google.protobuf:protoc:exe:linux-aarch_64:2.5.0 in 
https://repo.maven.apache.org/maven2 was cached in the local repository, 
resolution will not be reattempted until the update interval of central has 
elapsed or updates are forced
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR]     mvn install:install-file -DgroupId=com.google.protobuf 
-DartifactId=protoc -Dversion=2.5.0 -Dclassifier=linux-aarch_64 -Dpackaging=exe 
-Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the file 
there:
[ERROR]     mvn deploy:deploy-file -DgroupId=com.google.protobuf 
-DartifactId=protoc -Dversion=2.5.0 -Dclassifier=linux-aarch_64 -Dpackaging=exe 
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR]
[ERROR]   com.google.protobuf:protoc:exe:2.5.0
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR]   apache.snapshots (https://repository.apache.org/snapshots, 
releases=false, snapshots=true),
[ERROR]   central (https://repo.maven.apache.org/maven2, releases=true, 
snapshots=false)
[ERROR] -> ^[[1m[Help 1]^[[m
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the 
^[[1m-e^[[m switch.
[ERROR] Re-run Maven using the ^[[1m-X^[[m switch to enable full debug logging. 
{code}
 

The root cause is protoc-jar-maven-plugin is used to reference protoc 
executable of certain os/arch to process metastore.proto



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

Reply via email to