hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Takanobu Asanuma (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11121) Add assertions to BlockInfo#addStorage to protect from breaking reportedBlock-blockGroup mapping
Date Wed, 28 Dec 2016 01:27:06 GMT

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

Takanobu Asanuma commented on HDFS-11121:
-----------------------------------------

Thanks for your thoughts. I agree with you. So let's leave the constructor of {{BlockInfoStriped}}
as is for now.

> Add assertions to BlockInfo#addStorage to protect from breaking reportedBlock-blockGroup
mapping
> ------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-11121
>                 URL: https://issues.apache.org/jira/browse/HDFS-11121
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: erasure-coding
>    Affects Versions: 3.0.0-alpha1
>            Reporter: Takanobu Asanuma
>            Assignee: Takanobu Asanuma
>            Priority: Critical
>             Fix For: 3.0.0-alpha2
>
>         Attachments: HDFS-11121.1.patch
>
>
> There are not any assertions in {{BlockInfo.addStorage}}. This may cause that {{BlockInfo}}
instances accept strange block reports and result in serious bugs, like HDFS-10858.



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

---------------------------------------------------------------------
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