Hi Marc -DskipTests is case sensitive. You can also skip compilation of tests with -Dmaven.test.skip Eclipse is probably using a bundled JDK - version 11+ since you're getting javax errors. Intellij is using a bundled Maven since its complaining about https repos. Check Intellij's Maven configuration page. Delany
On Fri, 7 Jan 2022 at 14:16, Marc Hoppins <marc.hopp...@eset.com> wrote: > Hi all, > > This is a stock ambari 2.7.6 build attempt on Ubuntu 18.04. I am not a > java entity but I am interested in understanding how these tools operate > with a view to getting away from Cloudera. We currently run with CDH 6.3, > the free/express version and this leaves us stuck with Centos7, or > Ubuntu18, both of which are EOL, or fast approaching. Given the exorbitant > pricing per node for ANY version of Cloudera, it is prohibitive to justify > the cost when making money off data is not a thing we could possibly > contemplate. > > Aside from the obvious fact that every build produces errors which seem to > have been ignored by whoever created this, I am mystified as to why the > errors are different depending on how I run a build. > > I have OpenJDK 8 installed, as well as the general pre-requisites > according to the Ambari documentation. > > Maven 3.6.0 > Eclipse 2021-12 (4.22.0) > IntelliJ IDEA 2021.3.1 (Community) > > Below are the output errors from OS CLI, Eclipse and IntelliJ. All three > produce DIFFERENT errors and this is confusing as I thought they all used > Maven. I run an INSTALL build with rat.skip as RAT seems to produce > thousands of licence errors for every item in the project. If RAT is so > important, why have these errors not been sorted? > > Also, if I have -Dskiptests, why do tests still get run? > > I am sure that there are folk who have successfully built Ambari but > useful and successful attempts have not been published for any recent > version. > > Any information would be helpful. > > Thanks. > > Marc > > ****** When run from CLI ****** > > mvn install -Drat.skip=true -Dskiptests=true -X > [INFO] Running > org.apache.ambari.server.metric.system.impl.MetricsServiceTest > [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: > 0.359 s - in org.apache.ambari.server.metric.system.impl.MetricsServiceTest > [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: > 30.001 s - in > org.apache.ambari.server.checks.AmbariMetricsHadoopSinkVersionCheckTest > [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: > 6.232 s - in org.apache.ambari.server.upgrade.SchemaUpgradeHelperTest > [WARNING] Tests run: 6, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: > 5.677 s - in org.apache.ambari.server.metric.system.impl.MetricsSourceTest > [INFO] > [INFO] Results: > [INFO] > [ERROR] Failures: > [ERROR] ExecutionCommandWrapperTest.testGetExecutionCommand:247 > [ERROR] AmbariErrorHandlerTest.testHandleInternalServerError:119 Nothing > captured yet > [ERROR] Errors: > [ERROR] > > RootServiceComponentConfigurationResourceProviderTest.shouldUpdatePasswordInCredentialStoreIfSecurityPasswordEncryptionIsEnabled:534 > > ConstructorNotFound > [ERROR] > > PasswordUtilsTest.shouldReadPasswordFromCredentialStoreOfAnAlias:67->setupBasicCredentialProviderExpectations:127 > > ConstructorNotFound > [ERROR] > > PasswordUtilsTest.shouldResolveEncryptedPaswordIfWeStoreTheAliasInPasswordFile:103->setupBasicCredentialProviderExpectations:127 > > ConstructorNotFound > [INFO] > [ERROR] Tests run: 5271, Failures: 2, Errors: 3, Skipped: 60 > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Ambari Main 2.7.6.0.0 .............................. SUCCESS [ > 0.651 s] > [INFO] Apache Ambari Project POM 2.7.6.0.0 ................ SUCCESS [ > 0.009 s] > [INFO] Ambari Web 2.7.6.0.0 ............................... SUCCESS [01:20 > min] > [INFO] Ambari Views 2.7.6.0.0 ............................. SUCCESS [ > 1.149 s] > [INFO] Ambari Admin View 2.7.6.0.0 ........................ SUCCESS [ > 26.216 s] > [INFO] ambari-utility 1.0.0.0-SNAPSHOT .................... SUCCESS [ > 2.062 s] > [INFO] ambari-metrics 2.7.6.0.0 ........................... SUCCESS [ > 0.109 s] > [INFO] Ambari Metrics Common 2.7.6.0.0 .................... SUCCESS [ > 37.461 s] > [INFO] Ambari Metrics Hadoop Sink 2.7.6.0.0 ............... SUCCESS [ > 6.900 s] > [INFO] Ambari Metrics Flume Sink 2.7.6.0.0 ................ SUCCESS [ > 4.742 s] > [INFO] Ambari Metrics Kafka Sink 2.7.6.0.0 ................ SUCCESS [ > 3.439 s] > [INFO] Ambari Metrics Storm Sink 2.7.6.0.0 ................ SUCCESS [ > 1.970 s] > [INFO] Ambari Metrics Storm Sink (Legacy) 2.7.6.0.0 ....... SUCCESS [ > 1.802 s] > [INFO] Ambari Metrics Collector 2.7.6.0.0 ................. SUCCESS [02:38 > min] > [INFO] Ambari Metrics Monitor 2.7.6.0.0 ................... SUCCESS [ > 1.998 s] > [INFO] Ambari Metrics Grafana 2.7.6.0.0 ................... SUCCESS [ > 3.006 s] > [INFO] Ambari Metrics Host Aggregator 2.7.6.0.0 ........... SUCCESS [ > 8.727 s] > [INFO] Ambari Metrics Assembly 2.7.6.0.0 .................. SUCCESS [01:57 > min] > [INFO] Ambari Service Advisor 1.0.0.0-SNAPSHOT ............ SUCCESS [ > 0.268 s] > [INFO] Ambari Server 2.7.6.0.0 ............................ FAILURE [11:12 > min] > [INFO] Ambari Functional Tests 2.7.6.0.0 .................. SKIPPED > [INFO] Ambari Agent 2.7.6.0.0 ............................. SKIPPED > [INFO] ambari-logsearch 2.7.6.0.0 ......................... SKIPPED > [INFO] Ambari Logsearch Appender 2.7.6.0.0 ................ SKIPPED > [INFO] Ambari Logsearch Config Api 2.7.6.0.0 .............. SKIPPED > [INFO] Ambari Logsearch Config JSON 2.7.6.0.0 ............. SKIPPED > [INFO] Ambari Logsearch Config Solr 2.7.6.0.0 ............. SKIPPED > [INFO] Ambari Logsearch Config Zookeeper 2.7.6.0.0 ........ SKIPPED > [INFO] Ambari Logsearch Config Local 2.7.6.0.0 ............ SKIPPED > [INFO] Ambari Logsearch Log Feeder Plugin Api 2.7.6.0.0 ... SKIPPED > [INFO] Ambari Logsearch Log Feeder Container Registry 2.7.6.0.0 SKIPPED > [INFO] Ambari Logsearch Log Feeder 2.7.6.0.0 .............. SKIPPED > [INFO] Ambari Logsearch Web 2.7.6.0.0 ..................... SKIPPED > [INFO] Ambari Logsearch Server 2.7.6.0.0 .................. SKIPPED > [INFO] Ambari Logsearch Assembly 2.7.6.0.0 ................ SKIPPED > [INFO] Ambari Logsearch Integration Test 2.7.6.0.0 ........ SKIPPED > [INFO] ambari-infra 2.7.6.0.0 ............................. SKIPPED > [INFO] Ambari Infra Solr Client 2.7.6.0.0 ................. SKIPPED > [INFO] Ambari Infra Solr Plugin 2.7.6.0.0 ................. SKIPPED > [INFO] Ambari Infra Manager 2.7.6.0.0 ..................... SKIPPED > [INFO] Ambari Infra Assembly 2.7.6.0.0 .................... SKIPPED > [INFO] Ambari Infra Manager Integration Tests 2.7.6.0.0 ... SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 18:50 min > [INFO] Finished at: 2022-01-07T11:02:40+01:00 > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.20:test (default-test) on > project ambari-server: There are test failures. > [ERROR] > [ERROR] Please refer to > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-server/target/surefire-reports > for the individual test results. > [ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, > [date].dumpstream and [date]-jvmRun[N].dumpstream. > [ERROR] -> [Help 1] > > ****** When run via Eclipse using install, rat.skip=true ****** > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.2:compile > (default-compile) on project ambari-metrics-common: Compilation failure: > Compilation failure: > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetric.java:[25,33] > package javax.xml.bind.annotation does not exist > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetric.java:[26,33] > package javax.xml.bind.annotation does not exist > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetric.java:[27,33] > package javax.xml.bind.annotation does not exist > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetric.java:[28,33] > package javax.xml.bind.annotation does not exist > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetric.java:[34,2] > cannot find symbol > [ERROR] symbol: class XmlRootElement > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetric.java:[35,2] > cannot find symbol > [ERROR] symbol: class XmlAccessorType > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetrics.java:[24,33] > package javax.xml.bind.annotation does not exist > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetrics.java:[25,33] > package javax.xml.bind.annotation does not exist > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetrics.java:[26,33] > package javax.xml.bind.annotation does not exist > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetrics.java:[27,33] > package javax.xml.bind.annotation does not exist > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetrics.java:[35,2] > cannot find symbol > [ERROR] symbol: class XmlRootElement > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetrics.java:[36,2] > cannot find symbol > [ERROR] symbol: class XmlAccessorType > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetricWithAggregatedValues.java:[21,33] > package javax.xml.bind.annotation does not exist > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetricWithAggregatedValues.java:[22,33] > package javax.xml.bind.annotation does not exist > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetricWithAggregatedValues.java:[23,33] > package javax.xml.bind.annotation does not exist > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetricWithAggregatedValues.java:[24,33] > package javax.xml.bind.annotation does not exist > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetricWithAggregatedValues.java:[27,2] > cannot find symbol > [ERROR] symbol: class XmlRootElement > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetricWithAggregatedValues.java:[28,2] > cannot find symbol > [ERROR] symbol: class XmlAccessorType > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/ContainerMetric.java:[24,33] > package javax.xml.bind.annotation does not exist > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/ContainerMetric.java:[25,33] > package javax.xml.bind.annotation does not exist > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/ContainerMetric.java:[26,33] > package javax.xml.bind.annotation does not exist > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/ContainerMetric.java:[32,2] > cannot find symbol > [ERROR] symbol: class XmlRootElement > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/ContainerMetric.java:[33,2] > cannot find symbol > [ERROR] symbol: class XmlAccessorType > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/AggregationResult.java:[20,33] > package javax.xml.bind.annotation does not exist > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/AggregationResult.java:[21,33] > package javax.xml.bind.annotation does not exist > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/AggregationResult.java:[24,2] > cannot find symbol > [ERROR] symbol: class XmlRootElement > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetricMetadata.java:[25,33] > package javax.xml.bind.annotation does not exist > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetricMetadata.java:[26,33] > package javax.xml.bind.annotation does not exist > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetricMetadata.java:[27,33] > package javax.xml.bind.annotation does not exist > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetricMetadata.java:[28,33] > package javax.xml.bind.annotation does not exist > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetricMetadata.java:[30,2] > cannot find symbol > [ERROR] symbol: class XmlRootElement > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetricMetadata.java:[31,2] > cannot find symbol > [ERROR] symbol: class XmlAccessorType > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TopNConfig.java:[24,33] > package javax.xml.bind.annotation does not exist > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TopNConfig.java:[25,33] > package javax.xml.bind.annotation does not exist > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TopNConfig.java:[26,33] > package javax.xml.bind.annotation does not exist > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TopNConfig.java:[27,33] > package javax.xml.bind.annotation does not exist > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TopNConfig.java:[29,2] > cannot find symbol > [ERROR] symbol: class XmlRootElement > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TopNConfig.java:[30,2] > cannot find symbol > [ERROR] symbol: class XmlAccessorType > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetric.java:[35,18] > cannot find symbol > [ERROR] symbol: variable XmlAccessType > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetrics.java:[36,18] > cannot find symbol > [ERROR] symbol: variable XmlAccessType > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetrics.java:[45,4] > cannot find symbol > [ERROR] symbol: class XmlElement > [ERROR] location: class > org.apache.hadoop.metrics2.sink.timeline.TimelineMetrics > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetric.java:[76,4] > cannot find symbol > [ERROR] symbol: class XmlElement > [ERROR] location: class > org.apache.hadoop.metrics2.sink.timeline.TimelineMetric > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetric.java:[85,4] > cannot find symbol > [ERROR] symbol: class XmlElement > [ERROR] location: class > org.apache.hadoop.metrics2.sink.timeline.TimelineMetric > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetric.java:[94,4] > cannot find symbol > [ERROR] symbol: class XmlElement > [ERROR] location: class > org.apache.hadoop.metrics2.sink.timeline.TimelineMetric > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetric.java:[103,4] > cannot find symbol > [ERROR] symbol: class XmlElement > [ERROR] location: class > org.apache.hadoop.metrics2.sink.timeline.TimelineMetric > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetric.java:[112,4] > cannot find symbol > [ERROR] symbol: class XmlElement > [ERROR] location: class > org.apache.hadoop.metrics2.sink.timeline.TimelineMetric > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetric.java:[121,4] > cannot find symbol > [ERROR] symbol: class XmlElement > [ERROR] location: class > org.apache.hadoop.metrics2.sink.timeline.TimelineMetric > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetric.java:[130,4] > cannot find symbol > [ERROR] symbol: class XmlElement > [ERROR] location: class > org.apache.hadoop.metrics2.sink.timeline.TimelineMetric > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetric.java:[139,4] > cannot find symbol > [ERROR] symbol: class XmlElement > [ERROR] location: class > org.apache.hadoop.metrics2.sink.timeline.TimelineMetric > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetric.java:[148,4] > cannot find symbol > [ERROR] symbol: class XmlElement > [ERROR] location: class > org.apache.hadoop.metrics2.sink.timeline.TimelineMetric > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetric.java:[164,4] > cannot find symbol > [ERROR] symbol: class XmlElement > [ERROR] location: class > org.apache.hadoop.metrics2.sink.timeline.TimelineMetric > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetricWithAggregatedValues.java:[28,18] > cannot find symbol > [ERROR] symbol: variable XmlAccessType > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetricWithAggregatedValues.java:[41,6] > cannot find symbol > [ERROR] symbol: class XmlElement > [ERROR] location: class > org.apache.hadoop.metrics2.sink.timeline.TimelineMetricWithAggregatedValues > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetricWithAggregatedValues.java:[45,6] > cannot find symbol > [ERROR] symbol: class XmlElement > [ERROR] location: class > org.apache.hadoop.metrics2.sink.timeline.TimelineMetricWithAggregatedValues > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/ContainerMetric.java:[33,18] > cannot find symbol > [ERROR] symbol: variable XmlAccessType > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/AggregationResult.java:[44,6] > cannot find symbol > [ERROR] symbol: class XmlElement > [ERROR] location: class > org.apache.hadoop.metrics2.sink.timeline.AggregationResult > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/AggregationResult.java:[52,6] > cannot find symbol > [ERROR] symbol: class XmlElement > [ERROR] location: class > org.apache.hadoop.metrics2.sink.timeline.AggregationResult > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetricMetadata.java:[31,18] > cannot find symbol > [ERROR] symbol: variable XmlAccessType > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetricMetadata.java:[71,4] > cannot find symbol > [ERROR] symbol: class XmlElement > [ERROR] location: class > org.apache.hadoop.metrics2.sink.timeline.TimelineMetricMetadata > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetricMetadata.java:[90,4] > cannot find symbol > [ERROR] symbol: class XmlElement > [ERROR] location: class > org.apache.hadoop.metrics2.sink.timeline.TimelineMetricMetadata > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetricMetadata.java:[99,4] > cannot find symbol > [ERROR] symbol: class XmlElement > [ERROR] location: class > org.apache.hadoop.metrics2.sink.timeline.TimelineMetricMetadata > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetricMetadata.java:[108,4] > cannot find symbol > [ERROR] symbol: class XmlElement > [ERROR] location: class > org.apache.hadoop.metrics2.sink.timeline.TimelineMetricMetadata > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetricMetadata.java:[117,4] > cannot find symbol > [ERROR] symbol: class XmlElement > [ERROR] location: class > org.apache.hadoop.metrics2.sink.timeline.TimelineMetricMetadata > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetricMetadata.java:[126,4] > cannot find symbol > [ERROR] symbol: class XmlElement > [ERROR] location: class > org.apache.hadoop.metrics2.sink.timeline.TimelineMetricMetadata > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetricMetadata.java:[135,4] > cannot find symbol > [ERROR] symbol: class XmlElement > [ERROR] location: class > org.apache.hadoop.metrics2.sink.timeline.TimelineMetricMetadata > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TimelineMetricMetadata.java:[140,4] > cannot find symbol > [ERROR] symbol: class XmlElement > [ERROR] location: class > org.apache.hadoop.metrics2.sink.timeline.TimelineMetricMetadata > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TopNConfig.java:[30,18] > cannot find symbol > [ERROR] symbol: variable XmlAccessType > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TopNConfig.java:[44,4] > cannot find symbol > [ERROR] symbol: class XmlElement > [ERROR] location: class > org.apache.hadoop.metrics2.sink.timeline.TopNConfig > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TopNConfig.java:[53,4] > cannot find symbol > [ERROR] symbol: class XmlElement > [ERROR] location: class > org.apache.hadoop.metrics2.sink.timeline.TopNConfig > [ERROR] > /home/march/Downloads/apache-ambari-2.7.6-src/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/TopNConfig.java:[62,4] > cannot find symbol > [ERROR] symbol: class XmlElement > [ERROR] location: class > org.apache.hadoop.metrics2.sink.timeline.TopNConfig > [ERROR] -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile > (default-compile) on project ambari-metrics-common: Compilation failure > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:215) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117) > at > org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:190) > at > org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:186) > at > java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) > at > java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) > at > java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) > at > java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) > at > java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) > at java.base/java.lang.Thread.run(Thread.java:833) > Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: > Compilation failure > at > org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:909) > at > org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:129) > at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210) > ... 11 more > [ERROR] > [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/MojoFailureException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <args> -rf :ambari-metrics-common > > ****** When run using IntelliJ IDEA with install rat.skip=true ****** > > Downloading from apache.snapshots: > https://repository.apache.org/snapshots/org/glassfish/javax.el/3.0.1-b06-SNAPSHOT/javax.el-3.0.1-b06-SNAPSHOT.pom > Downloading from maven-default-http-blocker: > http://0.0.0.0/org/glassfish/javax.el/3.0.1-b07-SNAPSHOT/maven-metadata.xml > [WARNING] Could not transfer metadata > org.glassfish:javax.el:3.0.1-b07-SNAPSHOT/maven-metadata.xml from/to > maven-default-http-blocker (http://0.0.0.0/): transfer failed for > http://0.0.0.0/org/glassfish/javax.el/3.0.1-b07-SNAPSHOT/maven-metadata.xml > Could not transfer metadata > org.glassfish:javax.el:3.0.1-b07-SNAPSHOT/maven-metadata.xml from/to > maven-default-http-blocker (http://0.0.0.0/): transfer failed for > http://0.0.0.0/org/glassfish/javax.el/3.0.1-b07-SNAPSHOT/maven-metadata.xml > > > [WARNING] > org.glassfish:javax.el:3.0.1-b07-SNAPSHOT/maven-metadata.xmlfailed to > transfer from http://0.0.0.0/ during a previous attempt. This failure was > cached in the local repository and resolution will not be reattempted until > the update interval of maven-default-http-blocker has elapsed or updates > are forced. Original error: Could not transfer metadata > org.glassfish:javax.el:3.0.1-b07-SNAPSHOT/maven-metadata.xml from/to > maven-default-http-blocker (http://0.0.0.0/): transfer failed for > http://0.0.0.0/org/glassfish/javax.el/3.0.1-b07-SNAPSHOT/maven-metadata.xml > org.glassfish:javax.el:3.0.1-b07-SNAPSHOT/maven-metadata.xmlfailed to > transfer from http://0.0.0.0/ during a previous attempt. This failure was > cached in the local repository and resolution will not be reattempted until > the update interval of maven-default-http-blocker has elapsed or updates > are forced. Original error: Could not transfer metadata > org.glassfish:javax.el:3.0.1-b07-SNAPSHOT/maven-metadata.xml from/to > maven-default-http-blocker (http://0.0.0.0/): transfer failed for > http://0.0.0.0/org/glassfish/javax.el/3.0.1-b07-SNAPSHOT/maven-metadata.xml > > > Downloading from apache.snapshots: > https://repository.apache.org/snapshots/org/glassfish/javax.el/3.0.1-b07-SNAPSHOT/javax.el-3.0.1-b07-SNAPSHOT.pom > Downloading from maven-default-http-blocker: > http://0.0.0.0/org/glassfish/javax.el/3.0.1-b08-SNAPSHOT/maven-metadata.xml > [WARNING] Could not transfer metadata > org.glassfish:javax.el:3.0.1-b08-SNAPSHOT/maven-metadata.xml from/to > maven-default-http-blocker (http://0.0.0.0/): transfer failed for > http://0.0.0.0/org/glassfish/javax.el/3.0.1-b08-SNAPSHOT/maven-metadata.xml > Could not transfer metadata > org.glassfish:javax.el:3.0.1-b08-SNAPSHOT/maven-metadata.xml from/to > maven-default-http-blocker (http://0.0.0.0/): transfer failed for > http://0.0.0.0/org/glassfish/javax.el/3.0.1-b08-SNAPSHOT/maven-metadata.xml > > > [WARNING] > org.glassfish:javax.el:3.0.1-b08-SNAPSHOT/maven-metadata.xmlfailed to > transfer from http://0.0.0.0/ during a previous attempt. This failure was > cached in the local repository and resolution will not be reattempted until > the update interval of maven-default-http-blocker has elapsed or updates > are forced. Original error: Could not transfer metadata > org.glassfish:javax.el:3.0.1-b08-SNAPSHOT/maven-metadata.xml from/to > maven-default-http-blocker (http://0.0.0.0/): transfer failed for > http://0.0.0.0/org/glassfish/javax.el/3.0.1-b08-SNAPSHOT/maven-metadata.xml > org.glassfish:javax.el:3.0.1-b08-SNAPSHOT/maven-metadata.xmlfailed to > transfer from http://0.0.0.0/ during a previous attempt. This failure was > cached in the local repository and resolution will not be reattempted until > the update interval of maven-default-http-blocker has elapsed or updates > are forced. Original error: Could not transfer metadata > org.glassfish:javax.el:3.0.1-b08-SNAPSHOT/maven-metadata.xml from/to > maven-default-http-blocker (http://0.0.0.0/): transfer failed for > http://0.0.0.0/org/glassfish/javax.el/3.0.1-b08-SNAPSHOT/maven-metadata.xml > > > Downloading from apache.snapshots: > https://repository.apache.org/snapshots/org/glassfish/javax.el/3.0.1-b08-SNAPSHOT/javax.el-3.0.1-b08-SNAPSHOT.pom > Downloading from maven-default-http-blocker: > http://0.0.0.0/org/glassfish/javax.el/3.0.1-b11-SNAPSHOT/maven-metadata.xml > [WARNING] Could not transfer metadata > org.glassfish:javax.el:3.0.1-b11-SNAPSHOT/maven-metadata.xml from/to > maven-default-http-blocker (http://0.0.0.0/): transfer failed for > http://0.0.0.0/org/glassfish/javax.el/3.0.1-b11-SNAPSHOT/maven-metadata.xml > Could not transfer metadata > org.glassfish:javax.el:3.0.1-b11-SNAPSHOT/maven-metadata.xml from/to > maven-default-http-blocker (http://0.0.0.0/): transfer failed for > http://0.0.0.0/org/glassfish/javax.el/3.0.1-b11-SNAPSHOT/maven-metadata.xml > > > [WARNING] > org.glassfish:javax.el:3.0.1-b11-SNAPSHOT/maven-metadata.xmlfailed to > transfer from http://0.0.0.0/ during a previous attempt. This failure was > cached in the local repository and resolution will not be reattempted until > the update interval of maven-default-http-blocker has elapsed or updates > are forced. Original error: Could not transfer metadata > org.glassfish:javax.el:3.0.1-b11-SNAPSHOT/maven-metadata.xml from/to > maven-default-http-blocker (http://0.0.0.0/): transfer failed for > http://0.0.0.0/org/glassfish/javax.el/3.0.1-b11-SNAPSHOT/maven-metadata.xml > org.glassfish:javax.el:3.0.1-b11-SNAPSHOT/maven-metadata.xmlfailed to > transfer from http://0.0.0.0/ during a previous attempt. This failure was > cached in the local repository and resolution will not be reattempted until > the update interval of maven-default-http-blocker has elapsed or updates > are forced. Original error: Could not transfer metadata > org.glassfish:javax.el:3.0.1-b11-SNAPSHOT/maven-metadata.xml from/to > maven-default-http-blocker (http://0.0.0.0/): transfer failed for > http://0.0.0.0/org/glassfish/javax.el/3.0.1-b11-SNAPSHOT/maven-metadata.xml > > > Downloading from apache.snapshots: > https://repository.apache.org/snapshots/org/glassfish/javax.el/3.0.1-b11-SNAPSHOT/javax.el-3.0.1-b11-SNAPSHOT.pom > [WARNING] net.minidev:json-smart/maven-metadata.xmlfailed to transfer from > http://0.0.0.0/ during a previous attempt. This failure was cached in the > local repository and resolution will not be reattempted until the update > interval of maven-default-http-blocker has elapsed or updates are forced. > Original error: Could not transfer metadata > net.minidev:json-smart/maven-metadata.xml from/to > maven-default-http-blocker (http://0.0.0.0/): transfer failed for > http://0.0.0.0/net/minidev/json-smart/maven-metadata.xml > net.minidev:json-smart/maven-metadata.xmlfailed to transfer from > http://0.0.0.0/ during a previous attempt. This failure was cached in the > local repository and resolution will not be reattempted until the update > interval of maven-default-http-blocker has elapsed or updates are forced. > Original error: Could not transfer metadata > net.minidev:json-smart/maven-metadata.xml from/to > maven-default-http-blocker (http://0.0.0.0/): transfer failed for > http://0.0.0.0/net/minidev/json-smart/maven-metadata.xml > > > > >