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

Hairong Kuang commented on HDFS-537:
------------------------------------

For comment 2, I created HDFS-583 to record this comment. So the comment is 
going to be removed from the code.

For comment 1, I thought about it too. But sometimes we need setters that sets 
the value unconditionally. That's why this patch ended up checking the value in 
BlockReceiver.

> DataNode uses ReplicaBeingWritten to support dfs writes/hflush
> --------------------------------------------------------------
>
>                 Key: HDFS-537
>                 URL: https://issues.apache.org/jira/browse/HDFS-537
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: data-node
>    Affects Versions: Append Branch
>            Reporter: Hairong Kuang
>            Assignee: Hairong Kuang
>             Fix For: Append Branch
>
>         Attachments: exposeReplicaInfo.patch
>
>
> This jira adds subdirectory "rbw" to data directory to support replicas 
> created on dfs writes/hflush, uses ReplicaBeingWritten to represent replicas 
> created on dfs writes/hflush, and some changes to make code more readable.

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