hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron T. Myers (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-3256) HDFS considers blocks under-replicated if topology script is configured with only 1 rack
Date Thu, 12 Apr 2012 09:55:18 GMT

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

Aaron T. Myers updated HDFS-3256:

    Attachment: HDFS-3256.patch

Great catch, Todd.

Here's an updated patch which will only call processMisReplicatedBlocks when becoming multi-rack
if the NN is not in safemode and not in standby state. This behavior is a tad more conservative
than the check that's done in the SafeMode class, but that seems fine. If the cluster becomes
multi-rack while in safmode or standby state, we're guaranteed that processMisReplicatedBlocks
will be called when the NN exits safemode or becomes active.
> HDFS considers blocks under-replicated if topology script is configured with only 1 rack
> ----------------------------------------------------------------------------------------
>                 Key: HDFS-3256
>                 URL: https://issues.apache.org/jira/browse/HDFS-3256
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>         Attachments: HDFS-3256.patch, HDFS-3256.patch, HDFS-3256.patch
> HDFS treats the mere presence of a topology script being configured as evidence that
there are multiple racks. If there is in fact only a single rack, the NN will try to place
the blocks on at least two racks, and thus blocks will be considered to be under-replicated.

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


View raw message