HDFS health checks need more than a daemon status check. A cluster can have running services while blocks are under-replicated, corrupt, missing, or stuck in safe mode.
Use hdfs dfsadmin -report for capacity and DataNode state, hdfs fsck for namespace and block health, and safe mode checks when writes or block reports are behaving unexpectedly.
Run checks from a Hadoop client with the same configuration and identity used by operators. A client pointed at the wrong nameservice can report a healthy but unrelated cluster.
Related: How to manage HDFS safe mode
Related: How to troubleshoot a missing Hadoop DataNode
$ hdfs getconf -confKey fs.defaultFS hdfs://cluster1
$ hdfs dfsadmin -report Configured Capacity: 322122547200 (300 GB) Present Capacity: 314572800000 (293 GB) Live datanodes (3): Dead datanodes (0):
$ hdfs fsck / Status: HEALTHY Total size: 184320000 B Total dirs: 28 Total files: 116 Total blocks (validated): 42
$ hdfs dfsadmin -safemode get Safe mode is OFF
$ hdfs fsck / -list-corruptfileblocks The filesystem under path '/' has 0 CORRUPT files
$ hdfs dfsadmin -report Name: worker01.example.net:9866 Last contact: Wed Jun 17 03:50:11 UTC 2026 Name: worker02.example.net:9866 Last contact: Wed Jun 17 03:50:12 UTC 2026