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

Compile error in RoleGraphTest

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 2.5.0
    • ambari-server
    • None

    Description

      RoleGraphTest references a package that Ambari Server has not declared dependency on.

      Ambari-trunk-Commit succeeds, but Ambari-trunk-test-patch reports "Top-level trunk compilation may be broken":

      [ERROR] COMPILATION ERROR : 
      [INFO] -------------------------------------------------------------
      [ERROR] /home/jenkins/jenkins-slave/workspace/Ambari-trunk-test-patch/ambari/ambari-server/src/test/java/org/apache/ambari/server/metadata/RoleGraphTest.java:[43,71] package org.apache.hadoop.metrics2.sink.relocated.google.common.collect does not exist
      [ERROR] /home/jenkins/jenkins-slave/workspace/Ambari-trunk-test-patch/ambari/ambari-server/src/test/java/org/apache/ambari/server/metadata/RoleGraphTest.java:[207,30] cannot find symbol
        symbol:   variable Lists
        location: class org.apache.ambari.server.metadata.RoleGraphTest
      [INFO] 2 errors 
      

      Attachments

        1. AMBARI-19458.patch
          0.9 kB
          Attila Doroszlai

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: