You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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:

  • client port : 8020 (if different, replace it with appropriate port in all keys)
  • service port: 8021 (if different, replace it with appropriate port in first value)
  • namenodehost: needs to be a FQDN.

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

 

Go ahead and restart Metrics Collector & you should see the metrics being emitted. 

 

 

  • No labels