Details

    • Type: Task
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.8.0
    • Fix Version/s: 2.8.0
    • Component/s: None

      Description

      When compiling consumers of the SPI which want to use Gson, the following is seen:

      
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project hdp-common: Compilation failure: Compilation failure:
      [ERROR] /Users/ncole/src/hwx/hdp_ambari_definitions/common/src/main/java/org/apache/ambari/hdp/upgrade/checks/RangerPasswordCheck.java:[49,23] package com.google.gson does not exist
      [ERROR] /Users/ncole/src/hwx/hdp_ambari_definitions/common/src/main/java/org/apache/ambari/hdp/upgrade/checks/RangerPasswordCheck.java:[280,7] cannot find symbol
      [ERROR]   symbol:   class Gson
      [ERROR]   location: class org.apache.ambari.hdp.upgrade.checks.RangerPasswordCheck
      [ERROR] /Users/ncole/src/hwx/hdp_ambari_definitions/common/src/main/java/org/apache/ambari/hdp/upgrade/checks/RangerPasswordCheck.java:[280,23] cannot find symbol
      [ERROR]   symbol:   class Gson
      [ERROR]   location: class org.apache.ambari.hdp.upgrade.checks.RangerPasswordCheck
      [ERROR] /Users/ncole/src/hwx/hdp_ambari_definitions/common/src/main/java/org/apache/ambari/hdp/upgrade/checks/RangerPasswordCheck.java:[321,9] cannot find symbol
      [ERROR]   symbol:   class Gson
      [ERROR]   location: class org.apache.ambari.hdp.upgrade.checks.RangerPasswordCheck
      [ERROR] /Users/ncole/src/hwx/hdp_ambari_definitions/common/src/main/java/org/apache/ambari/hdp/upgrade/checks/RangerPasswordCheck.java:[321,25] cannot find symbol
      [ERROR]   symbol:   class Gson
      [ERROR]   location: class org.apache.ambari.hdp.upgrade.checks.RangerPasswordCheck
      [ERROR] -> [Help 1]
      [ERROR]
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jonathan.hurley Jonathan Hurley
                Reporter:
                ncole Nate Cole
              • 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 - 0.5h
                  0.5h