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

Jing Zhao commented on HDFS-8120:
---------------------------------

bq. which make DFSOutputStream#completeFile fail.

More accurately, here the question is when no real data is written, the 
{{DFSStripedOutputStream}} should not allocate a new block in NameNode. If no 
block is allocated, NN will not wait for block-received reports from DN thus 
completeFile will not get blocked or fail. 

> Erasure coding: created util class to analyze striped block groups
> ------------------------------------------------------------------
>
>                 Key: HDFS-8120
>                 URL: https://issues.apache.org/jira/browse/HDFS-8120
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Zhe Zhang
>            Assignee: Zhe Zhang
>         Attachments: HDFS-8120.000.patch, HDFS-8120.001.patch, 
> HDFS-8120.002.patch, HDFS-8120.003.patch, HDFS-8120.004.patch
>
>
> The patch adds logic of calculating size of individual blocks in a striped 
> block group.



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

Reply via email to