hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Li (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3522) If NN is in saftmode, it should throw SafeModeException when getBlockLocations has zero locations
Date Mon, 11 Jun 2012 23:10:42 GMT

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

Brandon Li commented on HDFS-3522:
----------------------------------

Todd,

Basically it's for better debug-ability and error handling.
 
When the client reads a file and fails because namenode is in safemode, throwing an exception
explicitly makes the cause obvious and also gives the client option to handle it differently
with real missing blocks.

Thanks,
Brandon
                
> If NN is in saftmode, 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
>         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