You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Konstantin Shvachko (JIRA)" <ji...@apache.org> on 2009/12/04 03:27:20 UTC

[jira] Updated: (HDFS-192) TestBackupNode sometimes fails

     [ https://issues.apache.org/jira/browse/HDFS-192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Shvachko updated HDFS-192:
-------------------------------------

    Attachment: NN-EditsBug.patch

With this patch I consitently see that if there is race between {{BackupNode.stop()}} and {{Checkpointer.doCheckpoint()}} then {{doCheckpoint()}} failes trying to send {{uploadCheckpoint()}}, which results in normal shutdown of the backup node without breaking {{TestBackupNode}}.

> TestBackupNode sometimes fails
> ------------------------------
>
>                 Key: HDFS-192
>                 URL: https://issues.apache.org/jira/browse/HDFS-192
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Konstantin Shvachko
>         Attachments: HADOOP-5573.patch, NN-EditsBug.patch, TestBNFailure.log
>
>
> TestBackupNode may fail with different reasons:
> - Unable to open edit log file .\build\test\data\dfs\name-backup1\current\edits (FSEditLog.java:open(371))
> - NullPointerException at org.apache.hadoop.hdfs.server.namenode.EditLogBackupOutputStream.flushAndSync(EditLogBackupOutputStream.java:163)
> - Fatal Error : All storage directories are inaccessible.
> Will provide more information in the comments.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.