You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Aravindan Vijayan (JIRA)" <ji...@apache.org> on 2017/06/15 15:14:00 UTC

[jira] [Commented] (AMBARI-21261) NiFi Metrics are not displaying in Ambari

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

Aravindan Vijayan commented on AMBARI-21261:
--------------------------------------------

Patch attached 

Manually tested.

mvn clean test on ambari-server

{code}
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle) @ ambari-server ---
[INFO] Starting audit...
Audit done.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Ambari Views ....................................... SUCCESS [  4.144 s]
[INFO] utility ............................................ SUCCESS [  1.252 s]
[INFO] Ambari Metrics Common .............................. SUCCESS [  6.262 s]
[INFO] Ambari Server ...................................... SUCCESS [31:39 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 31:51 min
[INFO] Finished at: 2017-06-15T08:10:04-07:00
[INFO] Final Memory: 97M/1292M
[INFO] ------------------------------------------------------------------------
{code}

> NiFi Metrics are not displaying in Ambari
> -----------------------------------------
>
>                 Key: AMBARI-21261
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21261
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-metrics
>    Affects Versions: 2.5.2
>            Reporter: Aravindan Vijayan
>            Assignee: Aravindan Vijayan
>             Fix For: 2.5.2
>
>
> Ambari MetaInfo manager has not loaded the "timelineAppId" field from the metainfo.xml belonging to the NiFi service in the HDF management pack (which by default set to 'nifi') . Hence the default metrics appId used is the component name (NIFI_MASTER) however NiFi metrics data is stored with a different app id. This leads to no metrics being displayed on the NiFi summary screen.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)