Hi Fredy,
Thanks for looking into this. But try deleting $HOME/.m2 and $IMPALA_HOME/toolchain does not help. $HOME/.m2 is the local repository of maven which acts as a cache for pom files and jars. I think you have built successfully when you have access to Cloudera network. Once the files are cached in $HOME/.m2, your build can still succeed unless the dependencies' versions change. Could you try to remove (or just move away) $HOME/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.13-cloudera.1 and see if you can build FE without access to Cloudera network? Can you access the following link outside of Cloudera network? https://native-toolchain.s3.amazonaws.com/build/cdh_components/422770/maven/org/codehaus/jackson/jackson-mapper-asl/1.9.13-cloudera.1/jackson-mapper-asl-1.9.13-cloudera.1.pom Thanks, Quanlong At 2018-07-04 14:40:47, "Fredy Wijaya" <[email protected]> wrote: >Hi Quanlong, > >I'm able to build Impala on my personal computer without any access to >Cloudera network. Can you try to delete $HOME/.m2 and >$IMPALA_HOME/toolchain and run the build again? > >On Tue, Jul 3, 2018 at 11:45 PM Quanlong Huang <[email protected]> >wrote: > >> Hi Cloudera folks, >> >> >> Recently, I'm building the master branch in my dev machine. It failed at >> building yarn-extras with the following logs: >> >> >> >> [INFO] BUILD FAILURE >> >> [ERROR] Failed to execute goal on project yarn-extras: Could not resolve >> dependencies for project org.apache.impala:yarn-extras:jar:0.1-SNAPSHOT: >> Failed to collect dependencies for [net.minidev:json-smart:jar >> >> :2.3 (compile), org.apache.hadoop:hadoop-common:jar:3.0.0-cdh6.x-SNAPSHOT >> (compile), org.apache.hadoop:hadoop-yarn-api:jar:3.0.0-cdh6.x-SNAPSHOT >> (compile), org.apache.hadoop:hadoop-yarn-common:jar:3.0.0-cdh6. >> >> x-SNAPSHOT (compile)]: Failed to read artifact descriptor for >> org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13-cloudera.1: Could not >> transfer artifact org.codehaus.jackson:jackson-mapper-asl:pom:1.9.13-clou >> >> dera.1 from/to impala.cdh.repo ( >> https://native-toolchain.s3.amazonaws.com/build/cdh_components/422770/maven): >> Access denied to: >> https://native-toolchain.s3.amazonaws.com/build/cdh_components/422770/maven/org/ >> >> codehaus/jackson/jackson-mapper-asl/1.9.13-cloudera.1/jackson-mapper-asl-1.9.13-cloudera.1.pom >> , ReasonPhrase:Forbidden. -> [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 >> >> mvn -B install -DskipTests exited with code 0 >> >> make[3]: *** [common/yarn-extras/CMakeFiles/yarn-extras] Error 1 >> >> make[2]: *** [common/yarn-extras/CMakeFiles/yarn-extras.dir/all] Error 2 >> >> make[1]: *** [fe/CMakeFiles/fe.dir/rule] Error 2 >> >> make: *** [fe] Error 2 >> >> Error in /mnt/volume1/impala-orc/tmp/incubator-impala/bin/make_impala.sh >> at line 180: ${MAKE_CMD} ${MAKE_ARGS} ${MAKE_TARGETS} >> >> >> >> Looks like I can't download >> https://native-toolchain.s3.amazonaws.com/build/cdh_components/422770/maven/org/codehaus/jackson/jackson-mapper-asl/1.9.13-cloudera.1/jackson-mapper-asl-1.9.13-cloudera.1.pom >> When I open the link in my browser, it shows "Assess Denied" too: >> >> >> <Error> >> <Code>AccessDenied</Code> >> <Message>Access Denied</Message> >> <RequestId>663ADBE877FAF5DE</RequestId> >> <HostId> >> >> fbg/oUcDXyb/nfruO+8UNWd8NYQ8efFlHRIsemHC2NHQjgOYsdVF31lPia+X5FgldapvX0nREec= >> </HostId> >> </Error> >> >> >> Maybe other guys outside of Cloudera will encounter the same error. Could >> you help to have a look? >> >> >> Thanks, >> Quanlong
