Christian Boenning created IMPALA-11026:
-------------------------------------------

             Summary: [Build] Maven Dependencies in S3 Bucket fail to Download
                 Key: IMPALA-11026
                 URL: https://issues.apache.org/jira/browse/IMPALA-11026
             Project: IMPALA
          Issue Type: Improvement
    Affects Versions: Impala 4.0.0
         Environment: Impala 4.0.0 from Git & Archive, CentOS 7.9.2009
            Reporter: Christian Boenning


I‘ve been trying to build Apache Impala 4.0.0 (and master) over the course of 
the last few days from Source. Unfortunately I fail succeeding when it comes to 
the build some Java Components. Most of those Components from the „native 
toolchain“ bucket succeed to be downloaded and to be built, but „everything 
Java“ fails.

Maven Artifacts from repository.cloudera.com download just fine, but the 
[https://native-toolchain.s3.amazonaws.com/build/cdp_components/11920537/maven] 
remains to be unavailable for me thus making (at least) the „Apache Impala 
Query Engine Frontend“ Maven Bits & Pieces to fail.

 

Full Error:
{noformat}
[ERROR] Failed to execute goal on project impala-frontend: Could not resolve 
dependencies for project org.apache.impala:impala-frontend:jar:4.0.0-SNAPSHOT: 
Failed to collect dependencies for [net.minidev:json-smart:jar:2.3 (compile), 
org.apache.impala:impala-executor-deps:pom:4.0.0-SNAPSHOT (compile), 
org.apache.impala:query-event-hook-api:jar:4.0.0-SNAPSHOT (compile), 
org.apache.impala:impala-data-source-api:jar:4.0.0-SNAPSHOT (compile), 
org.apache.hadoop:hadoop-auth:jar:3.1.1.7.2.9.0-146 (compile), 
org.apache.hudi:hudi-hadoop-mr:jar:0.5.0-incubating (compile), 
org.apache.ranger:ranger-plugins-common:jar:2.1.0.7.2.9.0-146 (compile), 
org.apache.ranger:ranger-plugins-audit:jar:2.1.0.7.2.9.0-146 (compile), 
javax.mail:mail:jar:1.4 (compile), javax.ws.rs:javax.ws.rs-api:jar:2.1.1 
(compile), org.apache.impala:yarn-extras:jar:4.0.0-SNAPSHOT (compile), 
org.apache.parquet:parquet-hadoop-bundle:jar:1.10.99.7.2.9.0-146 (compile), 
org.apache.avro:avro:jar:1.8.2.7.2.9.0-146 (compile), 
org.apache.orc:orc-core:jar:1.6.2 (compile), 
org.apache.hbase:hbase-protocol:jar:2.2.6.7.2.9.0-146 (compile), 
commons-lang:commons-lang:jar:2.6 (compile), 
net.sourceforge.czt.dev:java-cup:jar:0.11-a-czt02-cdh (compile), 
org.apache.thrift:libthrift:jar:0.11.0 (compile), 
org.apache.httpcomponents:httpcore:jar:4.4.9 (compile), 
org.apache.kudu:kudu-client:jar:b5e7362e69 (compile), 
org.postgresql:postgresql:jar:42.2.14 (compile), 
org.antlr:antlr-runtime:jar:3.3 (compile), commons-cli:commons-cli:jar:1.2 
(compile), org.slf4j:slf4j-api:jar:1.7.30 (compile), 
org.slf4j:slf4j-log4j12:jar:1.7.30 (compile), 
com.google.guava:guava:jar:28.1-jre (compile), 
org.apache.derby:derby:jar:10.14.2.0 (compile), 
com.google.errorprone:error_prone_annotations:jar:2.3.1 (compile), 
junit:junit:jar:4.12 (test), org.ehcache:sizeof:jar:0.3.0 (compile), 
com.googlecode.json-simple:json-simple:jar:1.1.1 (compile), 
org.glassfish:javax.json:jar:1.0.2 (compile), 
com.github.davidmoten:flatbuffers-java:jar:1.6.0.1 (compile), 
io.dropwizard.metrics:metrics-core:jar:3.2.2 (compile), 
com.fasterxml.jackson.core:jackson-databind:jar:2.10.5.1 (compile), 
org.mockito:mockito-core:jar:2.23.4 (test), 
org.apache.directory.server:apacheds-test-framework:jar:2.0.0.AM25 (test), 
org.hamcrest:hamcrest-all:jar:1.3 (test), 
org.apache.iceberg:iceberg-api:jar:0.9.1.7.2.9.0-146 (compile), 
org.apache.iceberg:iceberg-hive-runtime:jar:0.9.1.7.2.9.0-146 (compile), 
org.apache.hive:hive-jdbc:jar:3.1.3000.7.2.9.0-146 (test), 
org.apache.hive:hive-classification:jar:3.1.3000.7.2.9.0-146 (compile), 
org.apache.hive:hive-standalone-metastore:jar:3.1.3000.7.2.9.0-146 (compile), 
org.apache.hadoop:hadoop-mapreduce-client-core:jar:3.1.1.7.2.9.0-146 (compile), 
org.datanucleus:javax.jdo:jar:3.2.0-m3 (test), 
org.pac4j:pac4j-saml-opensamlv3:jar:4.0.3 (compile), 
org.bouncycastle:bcprov-jdk15on:jar:1.64 (compile), 
org.apache.santuario:xmlsec:jar:2.2.1 (compile), 
org.springframework:spring-core:jar:4.3.29.RELEASE (compile)]: Failed to read 
artifact descriptor for org.jamon:jamon-runtime:jar:2.3.1: Could not transfer 
artifact org.jamon:jamon-runtime:pom:2.3.1 from/to impala.cdp.repo 
(https://native-toolchain.s3.amazonaws.com/build/cdp_components/11920537/maven):
 Access denied to: 
https://native-toolchain.s3.amazonaws.com/build/cdp_components/11920537/maven/org/jamon/jamon-runtime/2.3.1/jamon-runtime-2.3.1.pom,
 ReasonPhrase: Forbidden. -> [Help 1]
{noformat}
I understand that Cloudera Impala might be restricted in some ways and access 
to this S3 Bucket or parts in the same might be provided on a subscription 
base, but I’d expect Apache Impala to build just fine on supported Operating 
Systems following the documentation.

For me I understood it ends up in
{code:java}
source bin/impala-config.sh
./buildall.sh -release -noclean -notests{code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to