hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Wang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-9342) Erasure coding: client should update and commit block based on acknowledged size
Date Sun, 07 May 2017 21:47:05 GMT

     [ https://issues.apache.org/jira/browse/HDFS-9342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Wang updated HDFS-9342:
------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0-alpha3
           Status: Resolved  (was: Patch Available)

Thanks for working on this Sammi, +1 LGTM and committed to trunk. Thanks to Walter for the
original patch and also Zhe for reviewing.

> 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-alpha1
>            Reporter: Zhe Zhang
>            Assignee: SammiChen
>            Priority: Critical
>              Labels: hdfs-ec-3.0-nice-to-have
>             Fix For: 3.0.0-alpha3
>
>         Attachments: HDFS-9342.01.patch, HDFS-9342.02.patch, HDFS-9342.03.patch, HDFS-9342.04.patch,
HDFS-9342.05.patch
>
>
> 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.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message