You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Jonathan Hurley (JIRA)" <ji...@apache.org> on 2019/01/02 21:43:00 UTC
[jira] [Created] (AMBARI-25079) SPI Needs to Expose Gson
Jonathan Hurley created AMBARI-25079:
----------------------------------------
Summary: SPI Needs to Expose Gson
Key: AMBARI-25079
URL: https://issues.apache.org/jira/browse/AMBARI-25079
Project: Ambari
Issue Type: Task
Affects Versions: 3.0.0
Reporter: Jonathan Hurley
Assignee: Jonathan Hurley
Fix For: 3.0.0
When compiling consumers of the SPI which want to use {{Gson}}, the following is seen:
{code}
[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]
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)