Hadoop HDFS FSImage
1,661

Created 5/5/2020
Updated 9/20/2020
Revision 2
Grafana Version >=6.7.3
Datasources
Prometheus

About

Initial dashboard for hadoop in kubernetes (wait what?)

This is mainly a test of hdfs + nn + zk + jn in k8s:

  • k8s 1.15.x
  • prometheus v2.17.2 via prometheus-operator
  • grafana v6.7.3 (a04ef6cefc) with prometheus as Data Source
  • Hadoop 3.1.3 in HA setup ( zookeeper cluster + 3 journalnodes + 3 namenodes, which means 1 active nn and 2 standby)
  • marcelmay/hadoop-hdfs-fsimage-exporter v1.3 as sidecar in namenode pods, version 1.3 required for hadoop 3.x
  • ServiceMonitor to scrape metrics - you must add ti on your own.

Known limitations

  • You need to create service monitor on your own.
  • You may need to adjust dashboard to match your prometheus labels
  • Vast majority of metrics is not yet exposed on the graphs, but you can add them on your own

Changelog

2.

  • added variable for DS_PROMETHEUS so that json file can be directly added to grafana data directory and solves errors such as Templating init failed Datasource named ${DS_PROMETHEUS} was not found `
  • initial release

Contact

Get Dashboard
Download
Copy to Clipboard
Source Grafana.com

Used Metrics 30

  • fsimage_dirs

  • fsimage_blocks

  • fsimage_links

  • fsimage_replication_sum

  • fsimage_fsize_sum

  • fsimage_fsize_bucket

  • fsimage_user_dirs

  • fsimage_user_blocks

  • fsimage_user_links

  • fsimage_user_replication_sum

  • fsimage_user_fsize_bucket

  • fsimage_group_dirs

  • fsimage_group_blocks

  • fsimage_group_links

  • fsimage_group_fsize_bucket

  • fsimage_load_duration_seconds_sum

  • fsimage_compute_stats_duration_seconds_sum

  • fsimage_load_file_size_bytes

  • fsimage_scrape_duration_seconds

  • fsimage_scrape_requests_total

  • fsimage_scrape_errors_total

  • fsimage_exporter_app_info

  • jvm_memory_bytes_used

  • jvm_memory_bytes_committed

  • jvm_memory_bytes_max

  • jvm_memory_bytes_init

  • jvm_memory_pool_bytes_used

  • jvm_memory_pool_bytes_committed

  • jvm_memory_pool_bytes_max

  • jvm_memory_pool_bytes_init