hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3310) Make sure that we abort when no edit log directories are left
Date Tue, 24 Apr 2012 21:42:08 GMT

    [ https://issues.apache.org/jira/browse/HDFS-3310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13261051#comment-13261051
] 

Tsz Wo (Nicholas), SZE commented on HDFS-3310:
----------------------------------------------

I think should be replaced by exitIfNoStreams().
{code}
+        if (editStreams.isEmpty()) {
+          throw new IOException("no editlog streams");
+        }
{code}
Patch looks good other then that.
                
> Make sure that we abort when no edit log directories are left
> -------------------------------------------------------------
>
>                 Key: HDFS-3310
>                 URL: https://issues.apache.org/jira/browse/HDFS-3310
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.1
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>         Attachments: HDFS-3310-b1.001.patch
>
>
> We should make sure to abort when there are no edit log directories left to write to.
 It seems that there is at least one case that is slipping through the cracks right now in
branch-1.

--
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

        

Mime
View raw message