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

WidgetResourceProvider wrong import order causing compilation failure

    XMLWordPrintableJSON

Details

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

    Description

      WidgetResourceProvider wrong import order causing compilation failure

      [ERROR] /ws/ambari-2.7/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/WidgetResourceProvider.java:58: Wrong order for 'com.google.gson.JsonElement' import. [ImportOrder]
      [ERROR] /ws/ambari-2.7/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/WidgetResourceProvider.java:60: Wrong order for 'com.google.gson.JsonPrimitive' import. [ImportOrder]
      Audit done.
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary for Ambari Server 2.7.8.0.0:
      [INFO] 
      [INFO] Ambari Server ...................................... FAILURE [ 30.156 s]
      [INFO] Ambari Functional Tests ............................ SKIPPED
      [INFO] Ambari Agent ....................................... SKIPPED
      [INFO] ambari-logsearch ................................... SKIPPED
      [INFO] Ambari Logsearch Appender .......................... SKIPPED
      [INFO] Ambari Logsearch Config Api ........................ SKIPPED
      [INFO] Ambari Logsearch Config JSON ....................... SKIPPED
      [INFO] Ambari Logsearch Config Solr ....................... SKIPPED
      [INFO] Ambari Logsearch Config Zookeeper .................. SKIPPED
      [INFO] Ambari Logsearch Config Local ...................... SKIPPED
      [INFO] Ambari Logsearch Log Feeder Plugin Api ............. SKIPPED
      [INFO] Ambari Logsearch Log Feeder Container Registry ..... SKIPPED
      [INFO] Ambari Logsearch Log Feeder ........................ SKIPPED
      [INFO] Ambari Logsearch Web ............................... SKIPPED
      [INFO] Ambari Logsearch Server ............................ SKIPPED
      [INFO] Ambari Logsearch Assembly .......................... SKIPPED
      [INFO] Ambari Logsearch Integration Test .................. SKIPPED
      [INFO] ambari-infra ....................................... SKIPPED
      [INFO] Ambari Infra Solr Client ........................... SKIPPED
      [INFO] Ambari Infra Solr Plugin ........................... SKIPPED
      [INFO] Ambari Infra Manager ............................... SKIPPED
      [INFO] Ambari Infra Assembly .............................. SKIPPED
      [INFO] Ambari Infra Manager Integration Tests ............. SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  30.594 s
      [INFO] Finished at: 2024-01-10T16:16:51Z
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check (checkstyle) on project ambari-server: Failed during checkstyle execution: There are 2 errors reported by Checkstyle 6.19 with /ws/ambari-2.7/ambari-server/checkstyle.xml ruleset. -> [Help 1]
      

      Attachments

        Issue Links

          Activity

            People

              arshad.mohammad Mohammad Arshad
              arshad.mohammad Mohammad Arshad
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m