hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lei (Eddy) Xu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-12349) Improve log message when it could not alloc enough blocks for EC
Date Thu, 24 Aug 2017 23:43:00 GMT

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

Lei (Eddy) Xu updated HDFS-12349:
    Attachment: HDFS-12349.00.patch

Attach the patch to fix cases for both no enough data block and no enough parity block cases.
It also move the logic of checking data blocks to {{BlockManager}}, similar to what NN checks

> Improve log message when it could not alloc enough blocks for EC 
> -----------------------------------------------------------------
>                 Key: HDFS-12349
>                 URL: https://issues.apache.org/jira/browse/HDFS-12349
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: erasure-coding
>    Affects Versions: 3.0.0-alpha3
>            Reporter: Lei (Eddy) Xu
>            Assignee: Lei (Eddy) Xu
>            Priority: Minor
>         Attachments: HDFS-12349.00.patch
> When an EC output stream could not alloc enough blocks for parity blocks, it sets the
> {code}
> if (blocks[i] == null) {
>         LOG.warn("Failed to get block location for parity block, index=" + i);
> {code}
> We should clarify the cause of this warning message.

This message was sent by Atlassian JIRA

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

View raw message