<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question hdfs dfsadmin -report VS hdfs fsck / in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/hdfs-dfsadmin-report-VS-hdfs-fsck/m-p/222186#M184058</link>
    <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;I'm getting a warning regarding some corrupt blocks replicas when using ambari or hdfs dfsadmin -report commands&lt;/P&gt;&lt;PRE&gt;$ hdfs dfsadmin -report
Configured Capacity: 89582347079680 (81.47 TB)
Present Capacity: 84363014526231 (76.73 TB)
DFS Remaining: 46423774937044 (42.22 TB)
DFS Used: 37939239589187 (34.51 TB)
DFS Used%: 44.97%
Under replicated blocks: 0
Blocks with corrupt replicas: 8
Missing blocks: 0
Missing blocks (with replication factor 1): 0&lt;/PRE&gt;&lt;P&gt;But when I'm trying to locate them using hdfs fsck / command, it doesn't find anything wrong.&lt;/P&gt;&lt;PRE&gt;Status: HEALTHY
 Total size:    11520245257654 B (Total open files size: 912343310015 B)
 Total dirs:    1269459
 Total files:   1035091
 Total symlinks:                0 (Files currently being written: 118)
 Total blocks (validated):      1071649 (avg. block size 10750017 B) (Total open file blocks (not validated): 6893)
 Minimally replicated blocks:   1071649 (100.0 %)
 Over-replicated blocks:        0 (0.0 %)
 Under-r



eplicated blocks:       0 (0.0 %)
 Mis-replicated blocks:         0 (0.0 %)
 Default replication factor:    3
 Average block replication:     3.0
 Corrupt blocks:                0
 Missing replicas:              0 (0.0 %)
 Number of data-nodes:          4
 Number of racks:               1
FSCK ended at Wed Jun 13 16:29:25 RET 2018 in 25763 milliseconds

The filesystem under path '/' is HEALTHY&lt;/PRE&gt;&lt;P&gt;How can I find thoses corrupted replicas and fix them ?&lt;/P&gt;&lt;P&gt;The namenode also tell me that it's ok but I've already encountered some issue when using spark jobs dealing with those files.&lt;/P&gt;&lt;PRE&gt;2018-06-13 16:30:25,870 INFO  blockmanagement.BlockManager (BlockManager.java:computeReplicationWorkForBlocks(1660)) - Blocks chosen but could not be replicated = 8; of which 0 have no target, 0 have no source, 0 are UC, 0 are abandoned, 8 already have enough replicas.
&lt;/PRE&gt;&lt;P&gt;BR,&lt;/P&gt;</description>
    <pubDate>Wed, 13 Jun 2018 21:33:29 GMT</pubDate>
    <dc:creator>obrobecker</dc:creator>
    <dc:date>2018-06-13T21:33:29Z</dc:date>
  </channel>
</rss>

