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

Boris Shkolnik updated HADOOP-5573:
-----------------------------------

    Attachment: HADOOP-5573.patch

Put synchronization (wait/notify) for BackupNode to wait for any undergoing 
Checkpoint to complete before stopping.

> TestBackupNode sometimes fails
> ------------------------------
>
>                 Key: HADOOP-5573
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5573
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Boris Shkolnik
>         Attachments: HADOOP-5573.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.

Reply via email to