fsck move should bail on a file if it can't create a block file
---------------------------------------------------------------
Key: HDFS-3045
URL: https://issues.apache.org/jira/browse/HDFS-3045
Project: Hadoop HDFS
Issue Type: Improvement
Components: name-node
Reporter: Eli Collins
Assignee: Colin Patrick McCabe
NamenodeFsck#lostFoundMove, when it fails to create a file for a block
continues on to the next block (There's a comment "perhaps we should bail out
here..." but it doesn't). It should instead fail the move for that particular
file (unwind the directory creation and not delete the original file).
Otherwise a transient failure speaking to the NN means this block is lost
forever.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira