Skip to main content
sshimpi
Silver ⭐️⭐️⭐️
Nov 18, 2016 5:57 PM UTC

Ambari shows corrupted blocks whereas FSCK output shows zero corrupted

  • Oct 5, 2026 9:34 AM UTC
  • 0 replies
  • 589 views
  • Translate All

PROBLEM STATEMENT:

#hdfs dfsadmin -report shows "Blocks with corrupt replica : 20 "

& #hdfs fsck / shows " Corrupt blocks : 0 "

But.. "Corrupted block" shows as 20 from Ambari and Summary of HDFS services shows " Block 20 corrupt / 0 missing / ... "

ERROR: Please find the screenshot below -

Ambari Output:

9565-screen-shot-2016-11-18-at-121856-pm.png

FSCK output:

9566-screen-shot-2016-11-18-at-121840-pm.png

DFSADMIN output:

9568-screen-shot-2016-11-18-at-122315-pm.png

ROOT CAUSE: Ambari shows its "Corrupted Block" but its "Corrupted Replica"

RESOLUTION: This is a BUG -https://hortonworks.jira.com/browse/BUG-41958, which is fixed in Ambari version-2.2.2


screen-shot-2016-11-18-at-122144-pm.png