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

Kai Sasaki commented on HDFS-8287:
----------------------------------

[~walter.k.su] Thank you for reviewing. 
{{ParityGenerator}} also receives a index which points to the target cell 
buffer. Because of this, even if {{currentCellBuffersIndex}} is changed after 
entity is enqueued, {{ParityGenerator}} can use proper index and corresponding 
cell buffer. 
However, there are some points to be fixed (removing first queue entity and 
avoiding increment of {{currentCellBuffersIndex}} for readabiliy) Could you 
check again? Thanks.

> DFSStripedOutputStream.writeChunk should not wait for writing parity 
> ---------------------------------------------------------------------
>
>                 Key: HDFS-8287
>                 URL: https://issues.apache.org/jira/browse/HDFS-8287
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs-client
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Kai Sasaki
>         Attachments: HDFS-8287-HDFS-7285.00.patch, 
> HDFS-8287-HDFS-7285.01.patch
>
>
> When a stripping cell is full, writeChunk computes and generates parity 
> packets.  It sequentially calls waitAndQueuePacket so that user client cannot 
> continue to write data until it finishes.
> We should allow user client to continue writing instead but not blocking it 
> when writing parity.



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

Reply via email to