Created 02-08-2016 07:15 PM
I'm running a NIFI cluster (1 NCM and 3 nodes) with ambari. I have added metrics and widget definition to it . Data are collected (present in DB) but the widget are not added to the service dashboard. When trying to add them (they are visible in the "browse widgets") nothing happens . On the service dashboard ,I cannot create any widget either.
Created 02-08-2016 07:29 PM
+ @bbende
@Daniel Hendrix couple of things to check
1. Ambari metrics service is up
2, The metrics in question are appearing in AMS. You can query AMS using phoenix.
Here is a collection of useful links on building metrics integration (including official apache page and Bryans blog on this and sample code)
Created 02-08-2016 07:18 PM
Created 02-08-2016 07:19 PM
https://issues.apache.org/jira/plugins/servlet/mobile#issue/AMBARI-9156
I suggest to wait for official version of repo.
Created 02-08-2016 07:28 PM
it's not yet supported but in general you can refer to this api to add metrics https://cwiki.apache.org/confluence/display/AMBARI/Metrics+Collector+API+Specification
Created 02-08-2016 07:29 PM
+ @bbende
@Daniel Hendrix couple of things to check
1. Ambari metrics service is up
2, The metrics in question are appearing in AMS. You can query AMS using phoenix.
Here is a collection of useful links on building metrics integration (including official apache page and Bryans blog on this and sample code)
Created 02-08-2016 07:30 PM
Created 02-08-2016 08:44 PM
on general : I follow the tuto from http://bryanbende.com/development/2015/07/31/ambari-metrics-part2-metrics-collector/ and install guidelines (http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.0.0/bk_Installing_HDP_AMB/content/index.html)
- Ambari metrics is up and working correctly to monitor systems and HDFS usage.
- I did install the repo from Horton (HDP with ambari 2.2) for Nifi I started with the repo from Ali and modified it to create the NCM node and the slaves nodes.
- I also used the AmbariReport in Nifi (I think work from Bryan in the Nifi service provided by Ali)
-I checked with phoenix :data are present in database
Created 02-09-2016 08:33 PM
A quick update : I did reinstall Ambari completely and also re-check all my config files : at least now the add widget is working but still does not display data (while phoenix shows data in hbase) I suspect something with the fact that I collect data on the 3 NiFi nodes while I try to display them for the whole service ...