Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-24400

Tests in ambari-metrics fail with java.lang.NoSuchFieldError: mapper

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Resolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: ambari-metrics
    • Labels:

      Description

      Commands used at ./ambari/ambari-metrics/ :
      mvn -Dtest=AggregatedMetricsPublisherTest -DfailIfNoTests=false test
      mvn -Dtest=RawMetricsPublisherTest -DfailIfNoTests=false test

      Error :

      Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.641 sec <<< FAILURE! - in org.apache.hadoop.metrics2.sink.timeline.AggregatedMetricsPublisherTest
      testProcessMetrics(org.apache.hadoop.metrics2.sink.timeline.AggregatedMetricsPublisherTest)  Time elapsed: 0.043 sec  <<< ERROR!
      java.lang.NoSuchFieldError: mapper
      at org.apache.hadoop.metrics2.sink.timeline.AggregatedMetricsPublisherTest.testProcessMetrics(AggregatedMetricsPublisherTest.java:65)
      

        Attachments

        1. AMBARI-24400.patch
          0.8 kB
          Alisha Prabhu

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                alishap Alisha Prabhu
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: