Skip to content

Conversation

@iwasakims
Copy link
Member

https://issues.apache.org/jira/browse/BIGTOP-3584

[ERROR] Failed to execute goal on project ambari-metrics-timelineservice: Could not resolve dependencies for project org.apache.ambari:ambari-metrics-timelineservice:jar:2.7.5.0.0: Failed to collect dependencies at org.apache.phoenix:phoenix-core:jar:5.0.0-HBase-2.0 -> org.apache.hbase:hbase-mapreduce:jar:2.0.0 -> org.apache.hbase:hbase-server:jar:2.0.0 -> org.glassfish.web:javax.servlet.jsp:jar:2.3.2 -> org.glassfish:javax.el:jar:3.0.1-b06-SNAPSHOT: Failed to read artifact descriptor for org.glassfish:javax.el:jar:3.0.1-b06-SNAPSHOT: Could not transfer artifact org.glassfish:javax.el:pom:3.0.1-b06-SNAPSHOT from/to apache-hadoop (https://repo.hortonworks.com/content/groups/public/): Transfer failed for https://repo.hortonworks.com/content/groups/public/org/glassfish/javax.el/3.0.1-b06-SNAPSHOT/javax.el-3.0.1-b06-SNAPSHOT.pom: Connect to repo.hortonworks.com:443 [repo.hortonworks.com/54.225.131.199] failed: Connection timed out (Connection timed out) -> [Help 1]

Excluding unresolvable packages of org.glassfish from transitive dependencies could be quick fix here.

@iwasakims
Copy link
Member Author

I tested this on CentOS 7 x86_64.

$ ./docker-hadoop.sh --create 1 --image bigtop/puppet:trunk-centos-7 --memory 16g --repo file:///bigtop-home/output --disable-gpg-check --stack bigtop-utils,ambari --smoke-tests ambari
...(snip)
org.apache.bigtop.itest.ambari.TestAmbariSmoke > testBlueprints STANDARD_OUT
    [href:http://localhost:8080/api/v1/blueprints, items:[]]

org.apache.bigtop.itest.ambari.TestAmbariSmoke > testStackNameVersion STANDARD_OUT
    [versions:[[Versions:[stack_version:2.0, stack_name:ODPi], href:http://localhost:8080/api/v1/stacks/ODPi/versions/2.0]], Stacks:[stack_name:ODPi], href:http://localhost:8080/api/v1/stacks/ODPi]

Gradle Test Executor 2 finished executing tests.

> Task :bigtop-tests:smoke-tests:ambari:test
Finished generating test XML results (0.008 secs) into: /bigtop-home/bigtop-tests/smoke-tests/ambari/build/test-results/test
Generating HTML test report...
Finished generating test html results (0.013 secs) into: /bigtop-home/bigtop-tests/smoke-tests/ambari/build/reports/tests/test
Now testing...
:bigtop-tests:smoke-tests:ambari:test (Thread[Execution worker for ':' Thread 4,5,main]) completed. Took 2.339 secs.

BUILD SUCCESSFUL in 36s
34 actionable tasks: 7 executed, 27 up-to-date
Stopped 1 worker daemon(s).
+ rm -rf buildSrc/build/test-results/binary
+ rm -rf /bigtop-home/.gradle

@guyuqi
Copy link
Member

guyuqi commented Sep 28, 2021

Successfully built Ambari and run the smoke tests on Centos-8 and Ubuntu-18.04 for Arm64.
+1.

Environment check...
Check docker:
Docker version 20.10.2, build 20.10.2-0ubuntu1~20.04.2
Check docker-compose:
docker-compose version 1.25.0, build unknown
Check ruby:
ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [aarch64-linux-gnu]
No cluster exists!
Creating 20210928_123110_r7594_bigtop_1 ... done
Creating 20210928_123110_r7594_bigtop_2 ... done
Creating 20210928_123110_r7594_bigtop_3 ... done

[LOG] Bigtop Puppet configurations are shared between instances, and can be modified under config/hieradata
......
...
...
...
..
.
Gradle Test Executor 2 finished executing tests.

> Task :bigtop-tests:smoke-tests:ambari:test
Finished generating test XML results (0.02 secs) into: /bigtop-home/bigtop-tests/smoke-tests/ambari/build/test-results/test
Generating HTML test report...
Finished generating test html results (0.034 secs) into: /bigtop-home/bigtop-tests/smoke-tests/ambari/build/reports/tests/test
Now testing...
:bigtop-tests:smoke-tests:ambari:test (Thread[Execution worker for ':' Thread 3,5,main]) completed. Took 4.709 secs.

BUILD SUCCESSFUL in 1m 13s
34 actionable tasks: 5 executed, 29 up-to-date
Stopped 1 worker daemon(s).
+ rm -rf buildSrc/build/test-results/binary
+ rm -rf /bigtop-home/.gradle



@guyuqi guyuqi merged commit bfbfbc4 into apache:master Sep 28, 2021
@guyuqi
Copy link
Member

guyuqi commented Sep 28, 2021

Merged.
Thanks, @iwasakims

iwasakims added a commit that referenced this pull request Sep 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants