hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hairong Kuang (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HDFS-509) Redesisn DataNode volumeMap to include all types of Replicas
Date Tue, 04 Aug 2009 18:18:14 GMT

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

Hairong Kuang updated HDFS-509:
-------------------------------

    Attachment: replicas.patch

Here is an initial patch for review. This patch
1. defines all different types of replicas: temporary, finalized, replica being written, replica
waiting to be recovered, replica under recovery.
2. redefines volumeMap to include all types of replicas. removes ongoingCreates map, renames
volumeMap to be replicasMap, and redefines the key to replicasMap to be block's ide;
3. changes FSDataSet to use the new map and replicas APIs. 

> Redesisn DataNode volumeMap to include all types of Replicas
> ------------------------------------------------------------
>
>                 Key: HDFS-509
>                 URL: https://issues.apache.org/jira/browse/HDFS-509
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: data-node
>            Reporter: Hairong Kuang
>            Assignee: Hairong Kuang
>             Fix For: 0.21.0
>
>         Attachments: replicas.patch
>
>
> With the new append design, replicas at a DataNode could be in one of the five states:
Finalized, ReplicaBeingWritten, ReplicaWaitingToBeRecovered, ReplicaUnderRecovery, and Temporay.
This jira is to
> 1. define the in-memory representation of these five types of replicas
> 2. redefine volumeMap to include all five types of replicas and remove ongoingCreates
map.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message