[
https://issues.apache.org/jira/browse/HDFS-7729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14318149#comment-14318149
]
Li Bo commented on HDFS-7729:
-----------------------------
Thanks for your careful review.
1.the variable {{hasSentEndPacket}} is duplicated with {{byteCurBlock}},will
remove it in new patch.
2.{{testCopyOnWrite}} also fails on trunk code, I think the failure is not
caused by changes of DFSOutputStream. You can have a further check. I will
debug this problem tomorrow.
3.add Javadoc in new patch.
4.add logic check if it’s striping layout when doing hflush or hsync operation.
> Add logic to DFSOutputStream to support writing a file in striping layout
> --------------------------------------------------------------------------
>
> Key: HDFS-7729
> URL: https://issues.apache.org/jira/browse/HDFS-7729
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Li Bo
> Assignee: Li Bo
> Attachments: Codec-tmp.patch, HDFS-7729-001.patch,
> HDFS-7729-002.patch, HDFS-7729-003.patch, HDFS-7729-004.patch,
> HDFS-7729-005.patch, HDFS-7729-006.patch, HDFS-7729-007.patch
>
>
> If client wants to directly write a file striping layout, we need to add some
> logic to DFSOutputStream. DFSOutputStream needs multiple DataStreamers to
> write each cell of a stripe to a remote datanode.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)