<?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 Re: 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/222187#M184059</link>
    <description>&lt;P&gt;&lt;EM&gt;&lt;A href="@olivier brobecker"&gt; @olivier brobecker&lt;/A&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Have you tried using the below snippet? Look through the output for missing or corrupt blocks (ignore under-replicated blocks for now)&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;$ hdfs fsck / | egrep -v '^\.+$' | grep -v replica&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Once you find a file that is corrupt&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;$ hdfs fsck /path/to/corrupt/file -locations -blocks -files&lt;/EM&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 13 Jun 2018 23:46:14 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2018-06-13T23:46:14Z</dc:date>
  </channel>
</rss>

