I am following this link : https://cwiki.apache.org/confluence/display/AMBARI/Enabling+HDFS+per-user+Metrics
However, I am still not able to view the metrics in Grafana.
Is there a different set of settings that we need to do for a HA environment?
The article you mentioned only talks about non-HA scenario.
For a HA scenario:
1. You must add one line per namenode.
For example if you have 2 namenodes nn1 and nn2 and dfs.internal.nameservices-nnha, then
2. Stop all ZKFC and then from any namenode host run the command:
hdfs zkfc -formatZK
3. Restart ZKFC and HDFS.
4. Now you will be able to see metrics in grafana after few minutes.
View solution in original post