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

Aravindan Vijayan edited comment on AMBARI-21261 at 6/15/17 3:16 PM:
---------------------------------------------------------------------

The bug was that the 'timelineAppId' parameter in metainfo.xml was not being 
inherited through multiple versions in common-services. 

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}


was (Author: avijayan):
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
>
>         Attachments: AMBARI-21261.patch
>
>
> 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)

Reply via email to