Due to Ambari binaries and repos behind a paywall now, I am trying to build Ambari from source using 2.7.5 using this archive: https://archive.apache.org/dist/ambari/ambari-2.7.5/
Ambari Metrics Collector was failing due to this error.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (default) on project ambari-metrics-timelineservice: An Ant BuildException has occured: Can't get https://s3.amazonaws.com/dev.hortonworks.com/HDP/centos7/3.x/BUILDS/188.8.131.52-315/tars/hbase/hbase-184.108.40.206.1.4.0-315-bin.tar.gz to /tmp/apache-ambari-2.7.5-src/ambari-metrics/ambari-metrics-timelineservice/target/embedded/hbase.tar.gz [ERROR] around Ant part ...<get usetimestamp="true" src="https://s3.amazonaws.com/dev.hortonworks.com/HDP/centos7/3.x/BUILDS/220.127.116.11-315/tars/hbase/hbase-18.104.22.168.1.4.0-315-bin.tar.gz" dest="/tmp/apache-ambari-2.7.5-src/ambari-metrics/ambari-metrics-timelineservice/target/embedded/hbase.tar.gz"/>... @ 5:272 in /tmp/apache-ambari-2.7.5-src/ambari-metrics/ambari-metrics-timelineservice/target/antrun/build-Download HBase.xml
My understanding is the S3 resources were removed so i tried to replace the references to hbase, hadoop, and phoenix using what available versions i could find from a mirror of https://archive.apache.org/dist/
and I was able to get further into the build.
However, i can't get past issues with Phoenix. I've tried different versions of 5.0.0 and 5.1.0 that are publicly available and keep running into different issues. Mainly with versions of 5.0.x, having to rename folders and versions in the pom.xml files, getting pom issues because it can't match a version from https://repo.hortonworks.com/content/groups/public/org/apache/phoenix/, and with 5.1.0, unit test errors.
Has anyone tried to build from source and been successful since the paywall went up?
Any alternative locations to what was being hosted from
Paying for a subscription is not a solution for me. Ambari is open source but now even that option seems to be broken thanks to a strong reliance to the links that Cloudera has removed.