You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2017/03/01 01:48:45 UTC
[jira] [Commented] (AMBARI-20197) RestMetricsPropertyProvider
support nested JSON metrics
[ https://issues.apache.org/jira/browse/AMBARI-20197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15889301#comment-15889301 ]
Hadoop QA commented on AMBARI-20197:
------------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12855267/AMBARI-20197.patch
against trunk revision .
{color:red}-1 patch{color}. The patch command could not apply the patch.
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/10810//console
This message is automatically generated.
> RestMetricsPropertyProvider support nested JSON metrics
> -------------------------------------------------------
>
> Key: AMBARI-20197
> URL: https://issues.apache.org/jira/browse/AMBARI-20197
> Project: Ambari
> Issue Type: Bug
> Components: metrics
> Affects Versions: 2.4.2
> Reporter: Kevin Risden
> Attachments: AMBARI-20197.patch, AMBARI-20197.patch
>
>
> Attempting to use the RestMetricsPropertyProvider with nested metrics results in a ClassCastException.
> {code}
> Caused by: java.lang.ClassCastException: com.google.gson.internal.StringMap cannot be cast to com.google.gson.JsonElement
> at org.apache.ambari.server.controller.metrics.RestMetricsPropertyProvider.extractValuesFromJSON(RestMetricsPropertyProvider.java:472)
> {code}
> Based on reading the code, this should be supported by using the # path splitter.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)