[
https://issues.apache.org/jira/browse/HDFS-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13103924#comment-13103924
]
Konstantin Shvachko commented on HDFS-2271:
-------------------------------------------
Good catch. One nit.
In TestBackupNode.testStartJournalSpoolHandlesIOExceptions() please use
BASE_DIR rather than writing to /tmp. That way we guarantee that clean target
removes everything created on the previous test run.
> startJournalSpool should invoke ProcessIOError with failed storage
> directories if createEditLogFile throws any exception.
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: HDFS-2271
> URL: https://issues.apache.org/jira/browse/HDFS-2271
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Affects Versions: 0.22.0
> Reporter: Uma Maheswara Rao G
> Assignee: Uma Maheswara Rao G
> Attachments: HDFS-2271.1.patch, HDFS-2271.patch
>
>
> Even If createEditsLogFile failes in startJournalSpool of BackUpStorage,
> BackUPNode will proceed with exceptions.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira