You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Zhe Zhang (JIRA)" <ji...@apache.org> on 2015/10/30 00:12:27 UTC
[jira] [Created] (HDFS-9342) Erasure coding: client should update
and commit block based on acknowledged size
Zhe Zhang created HDFS-9342:
-------------------------------
Summary: Erasure coding: client should update and commit block based on acknowledged size
Key: HDFS-9342
URL: https://issues.apache.org/jira/browse/HDFS-9342
Project: Hadoop HDFS
Issue Type: Sub-task
Components: erasure-coding
Affects Versions: 3.0.0
Reporter: Zhe Zhang
Priority: Critical
For non-EC files, we have:
{code}
protected ExtendedBlock block; // its length is number of bytes acked
{code}
For EC files, the size of {{DFSStripedOutputStream#currentBlockGroup}} is incremented in {{writeChunk}} without waiting for ack. And both {{updatePipeline}} and {{commitBlock}} are based on size of {{currentBlockGroup}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)