Laszlo Gaal created IMPALA-15009:
------------------------------------

             Summary: protoc-jar-maven-plugin fails to be retrieved during 
all-build-options-ub2204-ARM while building with Apache dependencies
                 Key: IMPALA-15009
                 URL: https://issues.apache.org/jira/browse/IMPALA-15009
             Project: IMPALA
          Issue Type: Improvement
          Components: Infrastructure
    Affects Versions: Impala 5.0.0
            Reporter: Laszlo Gaal


Seen while working on precommit migration to Ubuntu 22.04

The ARM-specific version of all-build-options fails on Ubuntu 22.04 when 
building with Apache dependencies:
{code:java}
[...]
01:00:19.409 Building with OPTIONS: Options -skiptests -noclean   | 
USE_APACHE_COMPONENTS=true | USE_APACHE_HIVE_3=true | USE_APACHE_HIVE_2=false
[...]
01:01:39.814 Repackage the hive-exec module
01:01:39.818 
========================================================================
01:01:39.819 Running mvn -U -pl ql,standalone-metastore clean package 
-Dmaven.test.skip
01:01:39.819 Directory 
/home/ubuntu/Impala/toolchain/apache_components/apache-hive-3.1.3-src
01:01:39.819 
========================================================================
[...]
details)
01:01:40.093 00:30:10 [INFO] Hive Standalone Metastore 
.......................... FAILURE [ 12.392 s]
01:01:40.093 00:30:10 [INFO] BUILD FAILURE
01:01:40.093 00:30:10 [ERROR] Failed to execute goal 
com.github.os72:protoc-jar-maven-plugin:3.5.1.1:run (default) on project 
hive-standalone-metastore: Error resolving artifact: 
com.google.protobuf:protoc:2.5.0: The following artifacts could not be 
resolved: com.google.protobuf:protoc:exe:linux-aarch_64:2.5.0 (absent): Could 
not find artifact com.google.protobuf:protoc:exe:linux-aarch_64:2.5.0 in 
central (https://repo.maven.apache.org/maven2)
01:01:40.098 00:30:10 [ERROR] 
01:01:40.098 00:30:10 [ERROR] Try downloading the file manually from the 
project website.
01:01:40.098 00:30:10 [ERROR] 
01:01:40.098 00:30:10 [ERROR] Then, install it using the command: 
01:01:41.381 00:30:10 [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
01:01:41.381 00:30:10 [ERROR] 
01:01:41.381 00:30:10 [ERROR] Alternatively, if you host your own repository 
you can deploy the file there: 
01:01:41.381 00:30:10 [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]
01:01:41.381 00:30:10 [ERROR] 
01:01:41.381 00:30:10 [ERROR] 
01:01:41.381 00:30:10 [ERROR]   com.google.protobuf:protoc:exe:2.5.0
01:01:41.381 00:30:10 [ERROR] 
01:01:41.381 00:30:10 [ERROR] from the specified remote repositories:
01:01:41.381 00:30:10 [ERROR]   apache.snapshots 
(https://repository.apache.org/snapshots, releases=false, snapshots=true),
01:01:41.381 00:30:10 [ERROR]   central (https://repo.maven.apache.org/maven2, 
releases=true, snapshots=false)
01:01:41.381 00:30:10 [ERROR] -> [Help 1]
01:01:41.381 00:30:10 [ERROR] 
01:01:41.381 00:30:10 [ERROR] To see the full stack trace of the errors, re-run 
Maven with the -e switch.
01:01:41.381 00:30:10 [ERROR] Re-run Maven using the -X switch to enable full 
debug logging.
01:01:41.381 00:30:10 [ERROR] 
01:01:41.381 00:30:10 [ERROR] For more information about the errors and 
possible solutions, please read the following articles:
01:01:41.381 00:30:10 [ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
01:01:41.381 mvn -U -pl ql,standalone-metastore clean package -Dmaven.test.skip 
exited with code 0 {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to