You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Eli Collins (Created) (JIRA)" <ji...@apache.org> on 2012/03/05 17:49:57 UTC

[jira] [Created] (HDFS-3045) fsck move should bail on a file if it can't create a block file

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

        

[jira] [Resolved] (HDFS-3045) fsck move should bail on a file if it can't create a block file

Posted by "Colin Patrick McCabe (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-3045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colin Patrick McCabe resolved HDFS-3045.
----------------------------------------

    Resolution: Fixed

This was fixed by change 1304063, which also fixed HDFS-3044
                
> 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
>         Attachments: HDFS-3045.001.patch
>
>
> 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