HDFS per-user Metrics aren't emitted by default. Kindly exercise caution before enabling them and make sure to refer to the details of client and service port numbers.

To be able to use the HDFS - Users dashboard in your Grafana instance as well as to view metrics for HDFS per user, you will need to add these custom properties to your configuration.

Step-by-step guide

In Ambari, HDFS > Configs > Advanced >  Custom hdfs-site, Add the following properties.

KeyValue
dfs.namenode.servicerpc-address namenodehost:8021
ipc.8020.callqueue.implorg.apache.hadoop.ipc.FairCallQueue
ipc.8020.backoff.enabletrue
ipc.8020.scheduler.implorg.apache.hadoop.ipc.DecayRpcScheduler
ipc.8020.scheduler.priority.levels3
ipc.8020.decay-scheduler.backoff.responsetime.enabletrue
ipc.8020.decay-scheduler.backoff.responsetime.thresholds10,20,30

Things to consider:

Once these properties are added, it should look like this.

 

Restart Metrics Collector & you should see the metrics being emitted. You should now also be able to use the HDFS - Users Dashboard in Grafana.

 

 

Related articles

Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.

Related issues