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

Hairong Kuang commented on HDFS-544:
------------------------------------

The current datanode data directory layout  on each volume is
{noformat}
current
tmp
detach
{noformat}
I plan to change it to be
{noformat}
current
      finalized   // store finalized replicas
      rbw          // store unfinalized replicas
tmp // store temporary replicas
{noformat}

"rbw" stays under "current" so it is automatically included in a snapshot 
during upgrading. Finalized replicas used to be storeed under "current" and now 
they are moved to the subdirectory "finalized".

How to handle "detach" directory and detaching replicas are explained in 
HDFS-550. 

> Add a "rbw" sub directory to DataNode data directory
> ----------------------------------------------------
>
>                 Key: HDFS-544
>                 URL: https://issues.apache.org/jira/browse/HDFS-544
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: data-node
>    Affects Versions: Append Branch
>            Reporter: Hairong Kuang
>            Assignee: Hairong Kuang
>             Fix For: Append Branch
>
>
> Add a "rbw" sub directory to DataNode to persist RBW, RWR, and RUR replicas.

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

Reply via email to