Hello, thank you for the insight. I managed to pass the Metrics issue but now I am stuck somewhere else in the compiling of ambari-server.
*[ERROR] Failed to execute goal on project ambari-server: Could not resolve dependencies for project org.apache.ambari:ambari-server:jar:2.7.7.0.0: Failed to collect dependencies at org.apache.ambari:ambari-metrics-common:jar:2.7.7.0.0: Failed to read artifact descriptor for org.apache.ambari:ambari-metrics-common:jar:2.7.7.0.0: Could not transfer artifact org.apache.ambari:ambari-metrics-common:pom:2.7.7.0.0 from/to private-nexus (https:private-nexus.hortonworks.com/content/content/groups/public/ <http://private-nexus.hortonworks.com/content/content/groups/public/>): Transfer failed for https:private-nexus.hortonworks.com/content/content/groups/public/org/apache/ambari/ambari-metrics-common/2.7.7.0.0/ambari-metrics-common-2.7.7.0.0.pom <http://private-nexus.hortonworks.com/content/content/groups/public/org/apache/ambari/ambari-metrics-common/2.7.7.0.0/ambari-metrics-common-2.7.7.0.0.pom>: URI does not specify a valid host name: https:private-nexus.hortonworks.com/content/content/groups/public/org/apache/ambari/ambari-metrics-common/2.7.7.0.0/ambari-metrics-common-2.7.7.0.0.pom <http://private-nexus.hortonworks.com/content/content/groups/public/org/apache/ambari/ambari-metrics-common/2.7.7.0.0/ambari-metrics-common-2.7.7.0.0.pom> -> [Help 1]* I tried to change the pom.xml file link in the ambari main project to repo.hortonworks* (replacing the private-nexus with repo) which is a solution/suggestion I found online but the same error persists even with the new link. How do I update the pom.xml to avoid such errors in the future? Best regards, Samy On Mon, Mar 13, 2023 at 1:44 PM Ice Blue <luxiang7w...@outlook.com> wrote: > Hello Samy, > > > > Sometimes before, I builed ambari 2.7.7.0.0 successfully with the same > issue. For the first issue abount Ambari Metrics Storm Sink (Legacy), you > can skip legacy module, just remove > <module>ambari-metrics-storm-sink-legacy</module> at > ./ambari-metrics/pom.xml. For the second issue abount dependencies for > ambari-metrics-timelineservice, you can try to change zookeeper version to > 3.4.5 to replace hortonworks zookeeper. > > > > One more thing, if you want to use the latest BIGTOP(3.2.0) stack rather > than HDP stack, you can wait for release-3.0.0 or use trunk branch rather > than 2.7.7.0.0, the issues abount compiling was solved in 3.0.0, and it > will coming soon ( > https://lists.apache.org/thread/nd5nw7dvldkg4ro36pkpsyt1r1xo371s) > > > > Best regards, > > Luxiang Wang >