Community Articles

Find and share helpful community-sourced technical articles.
Announcements
We’ve updated our product names and community labels - click here for full details
Labels (2)
avatar
Super Guru

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
532 Views