ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-15708) "Wrong metrics path " exceptions for JMX metrics
Date Tue, 05 Apr 2016 17:01:25 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-15708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15226662#comment-15226662
] 

Hudson commented on AMBARI-15708:
---------------------------------

FAILURE: Integrated in Ambari-branch-2.2 #593 (See [https://builds.apache.org/job/Ambari-branch-2.2/593/])
AMBARI-15708 "Wrong metrics path " exceptions for JMX metrics (dsen) (dsen: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=f173878ac2cdb6ada8ca9fb3823f63b4028c7515])
* ambari-server/src/main/java/org/apache/ambari/server/state/alert/AggregateDefinitionMapping.java
* ambari-server/src/main/java/org/apache/ambari/server/api/services/AmbariMetaInfo.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/internal/StackDefinedPropertyProviderTest.java
* ambari-server/src/test/java/org/apache/ambari/server/api/services/AmbariMetaInfoTest.java
* ambari-server/src/main/java/org/apache/ambari/server/topology/PersistedState.java


> "Wrong metrics path " exceptions for JMX metrics
> ------------------------------------------------
>
>                 Key: AMBARI-15708
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15708
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.2.2
>            Reporter: Dmytro Sen
>            Assignee: Dmytro Sen
>            Priority: Critical
>             Fix For: 2.2.2
>
>         Attachments: AMBARI-15708-trunk_2.patch
>
>
> {code}
> 04 Apr 2016 17:54:27,561 ERROR [pool-10-thread-2264] BaseProvider:240 - Caught exception
getting JMX metrics : Can not fetch 0th element of document path (executorsTotal._sum) from
json. Wrong metrics path: /api/v1/cluster/summary##executorsTotal._sum, skipping same exceptions
for next 5 minutes
> java.io.IOException: Can not fetch 0th element of document path (executorsTotal._sum)
from json. Wrong metrics path: /api/v1/cluster/summary##executorsTotal._sum
>         at org.apache.ambari.server.controller.metrics.RestMetricsPropertyProvider.extractValuesFromJSON(RestMetricsPropertyProvider.java:445)
>         at org.apache.ambari.server.controller.metrics.RestMetricsPropertyProvider.populateResource(RestMetricsPropertyProvider.java:234)
>         at org.apache.ambari.server.controller.metrics.ThreadPoolEnabledPropertyProvider$1.call(ThreadPoolEnabledPropertyProvider.java:180)
>         at org.apache.ambari.server.controller.metrics.ThreadPoolEnabledPropertyProvider$1.call(ThreadPoolEnabledPropertyProvider.java:178)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:745)
> {code}
> AmbariMetaInfo adds aggregated functions for jmx metrics, but should add only for ams
metrics



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message