Details
-
Bug
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
2.4.2
-
None
-
None
Description
Attempting to use the RestMetricsPropertyProvider with nested metrics results in a ClassCastException.
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)
Based on reading the code, this should be supported by using the # path splitter.