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-3522) If NN is in safemode, it should throw SafeModeException when getBlockLocations has zero locations
Date Tue, 12 Jun 2012 05:45:43 GMT

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

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

Hi Todd, I think it is not incompatible since DFSClient throws IOException previously.  The
message in IOException depends on the location it created.  Anyway, if the location is empty,
user applications must get an exception when it tries to access the block.  The patch makes
it fail fast.
                
> If NN is in safemode, it should throw SafeModeException when getBlockLocations has zero
locations
> -------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-3522
>                 URL: https://issues.apache.org/jira/browse/HDFS-3522
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 3.0.0
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>             Fix For: 2.0.1-alpha
>
>         Attachments: HDFS-3522.patch
>
>


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