hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo Nicholas Sze (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8323) Bump GenerationStamp for write faliure in DFSStripedOutputStream
Date Wed, 13 May 2015 01:13:00 GMT

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

Tsz Wo Nicholas Sze commented on HDFS-8323:
-------------------------------------------

Walter, thanks a lot for the comments.

> DFSStripedOutputStream owns the streamer lock when call setExternalError. ...

It should not be synchronized.  Will fix it.

> The returned indices is from BlockInfoStripedUnderConstruction.getBlockIndices() whose
length is depended upon blockreport, ...

For block creation, it does not depend on blockreport.

Both situation A & B are about multiple failures.  Let's deal with it later (I will create
a JIRA) and focus on bumping GS in this JIRA.

> Bump GenerationStamp for write faliure in DFSStripedOutputStream
> ----------------------------------------------------------------
>
>                 Key: HDFS-8323
>                 URL: https://issues.apache.org/jira/browse/HDFS-8323
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Tsz Wo Nicholas Sze
>         Attachments: h8323_20150511.patch, h8323_20150511b.patch
>
>




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

Mime
View raw message