ambari-issues mailing list archives

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

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

Dmytro Sen commented on AMBARI-15708:
-------------------------------------

Hadoop QA fails to +1 due to npm install issues
{code}
[INFO] npm ERR! 
[INFO] npm ERR! Additional logging details can be found in:
[INFO] npm ERR!     /home/jenkins/jenkins-slave/workspace/Ambari-trunk-test-patch/ambari/ambari-admin/src/main/resources/ui/admin-web/npm-debug.log
[INFO] npm ERR! not ok code 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Ambari Main ....................................... SUCCESS [  4.607 s]
[INFO] Apache Ambari Project POM ......................... SUCCESS [  0.116 s]
[INFO] Ambari Web ........................................ SUCCESS [ 58.421 s]
[INFO] Ambari Views ...................................... SUCCESS [  2.101 s]
[INFO] Ambari Admin View ................................. FAILURE [ 11.550 s]
[INFO] ambari-metrics .................................... SKIPPED
[INFO] Ambari Metrics Common ............................. SKIPPED
[INFO] Ambari Metrics Hadoop Sink ........................ SKIPPED
[INFO] Ambari Metrics Flume Sink ......................... SKIPPED
[INFO] Ambari Metrics Kafka Sink ......................... SKIPPED
[INFO] Ambari Metrics Storm Sink ......................... SKIPPED
[INFO] Ambari Metrics Collector .......................... SKIPPED
[INFO] Ambari Metrics Monitor ............................ SKIPPED
[INFO] Ambari Metrics Grafana ............................ SKIPPED
[INFO] Ambari Metrics Assembly ........................... SKIPPED
[INFO] Ambari Server ..................................... SKIPPED
[INFO] Ambari Functional Tests ........................... SKIPPED
[INFO] Ambari Agent ...................................... SKIPPED
[INFO] Ambari Client ..................................... SKIPPED
[INFO] Ambari Python Client .............................. SKIPPED
[INFO] Ambari Groovy Client .............................. SKIPPED
[INFO] Ambari Shell ...................................... SKIPPED
[INFO] Ambari Python Shell ............................... SKIPPED
[INFO] Ambari Groovy Shell ............................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:17 min
[INFO] Finished at: 2016-04-05T14:57:20+00:00
[INFO] Final Memory: 27M/358M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.16:npm (npm install)
on project ambari-admin: Failed to run task: 'npm install --unsafe-perm --color=false' failed.
(error code 1) -> [Help 1]
[ERROR] 
{code}

> "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