You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Vivek Raghuwanshi (Jira)" <ji...@apache.org> on 2023/01/17 17:47:00 UTC

[jira] [Created] (BIGTOP-3902) Error building Ranger rpm using bigtop

Vivek Raghuwanshi created BIGTOP-3902:
-----------------------------------------

             Summary: Error building Ranger rpm using bigtop
                 Key: BIGTOP-3902
                 URL: https://issues.apache.org/jira/browse/BIGTOP-3902
             Project: Bigtop
          Issue Type: Bug
         Environment: ./gradlew ranger-version

> Task :ranger-version
Base: 2.3.0

 
            Reporter: Vivek Raghuwanshi


I am trying to build Ranger rpm for Centos, but every time it's stuck at an authentication error.

 

 

[INFO] Sqoop Security Plugin Shim ......................... SUCCESS [  4.543 s]
[INFO] Kylin Security Plugin .............................. FAILURE [  0.760 s]
[INFO] Kylin Security Plugin Shim ......................... SKIPPED
[INFO] Presto Security Plugin ............................. SKIPPED
[INFO] Presto Security Plugin Shim ........................ SKIPPED
[INFO] Elasticsearch Security Plugin Shim ................. SKIPPED
[INFO] Elasticsearch Security Plugin ...................... SKIPPED
[INFO] Apache Ranger Distribution ......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  12:42 min
[INFO] Finished at: 2023-01-17T17:42:16Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project ranger-kylin-plugin: Could not resolve dependencies for project org.apache.ranger:ranger-kylin-plugin:jar:2.3.0: Failed to collect dependencies at org.apache.kylin:kylin-server-base:jar:3.1.3 -> org.apache.kylin:kylin-query:jar:3.1.3 -> org.apache.kylin:kylin-core-storage:jar:3.1.3 -> org.apache.kylin:kylin-core-cube:jar:3.1.3 -> org.apache.kylin:kylin-core-metadata:jar:3.1.3 -> org.apache.kylin:kylin-core-common:jar:3.1.3 -> org.apache.kafka:kafka_2.11:jar:2.8.1: Failed to read artifact descriptor for org.apache.kafka:kafka_2.11:jar:2.8.1: Could not transfer artifact org.apache.kafka:kafka_2.11:pom:2.8.1 from/to spring-snapshots (https://repo.spring.io/libs-snapshot): authentication failed for https://repo.spring.io/libs-snapshot/org/apache/kafka/kafka_2.11/2.8.1/kafka_2.11-2.8.1.pom, status: 401 Unauthorized -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :ranger-kylin-plugin
error: Bad exit status from /var/tmp/rpm-tmp.XdGICe (%build)


    Bad exit status from /var/tmp/rpm-tmp.XdGICe (%build)
RPM build errors:

> Task :ranger-rpm FAILED

FAILURE: Build failed with an exception.

* Where:
Script '/data/builds/bigtop/packages.gradle' line: 529

* What went wrong:
Execution failed for task ':ranger-rpm'.
> Process 'command 'rpmbuild'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 12m 51s
5 actionable tasks: 5 executed

 

********

I tried to access "https://repo.spring.io/libs-snapshot/org/apache/kafka/kafka_2.11/2.8.1/kafka_2.11-2.8.1.pom"

its not accessable

 

But able to access [https://repo.spring.io/ui/native/libs-snapshot/org/apache/kafka_2.9.2/]

 

Looks like it may be url not correct in config file

 



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