title: HDFS Find last known locations of missing blocks
body: <p>I have some corrupt files on HDFS because all block replicas are reported as missing. There are numerous data nodes down right now, so I want to know which ones to work on bringing back up which will rectify the missing blocks.</p>
  <p>I have the list of files and blocks, is there a way I can show the &quot;last known location&quot; of the blocks (which datanode they were on)?</p>
  <p>So far I've tried using <code>hadoop fsck</code>, but it seems it can just report that all replicas are missing, not where they were. Also trying to use the <code>hadoop oiv</code> with XML dump, but I can't see any block location information.</p>
  <p>Is this information even available anywhere?</p>