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

Li Bo commented on HDFS-7889:
-----------------------------

Thanks for Zhe's review.  Changes irrelevant to subclassing have been  moved to 
HDFS-7888.
bq. Instead of actually writing zero-bytes to the DNs hosting raw data blocks, 
we should just flush the parity data

If not padding zero-bytes to incomplete stripe, blocks in the same block group 
will have different block size. Maybe we have to add a new variable in 
LocatedBlock to record the length of the block with an incomplete cell.

bq. 2nd constructor of StripedDataStreamer is not needed
The second constructor is for appending to an existing file. I think we can 
keep this function for future features.


> Subclass DFSOutputStream to support writing striping layout files
> -----------------------------------------------------------------
>
>                 Key: HDFS-7889
>                 URL: https://issues.apache.org/jira/browse/HDFS-7889
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Li Bo
>            Assignee: Li Bo
>         Attachments: HDFS-7889-001.patch, HDFS-7889-002.patch, 
> HDFS-7889-003.patch, HDFS-7889-004.patch, HDFS-7889-005.patch
>
>
> After HDFS-7888, we can subclass  {{DFSOutputStream}} to support writing 
> striping layout files. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to