hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2271) startJournalSpool should invoke ProcessIOError with failed storage directories if createEditLogFile throws any exception.
Date Tue, 13 Sep 2011 19:33:09 GMT

    [ 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

        

Mime
View raw message