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

Compile error in RoleGraphTest

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment