hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dragon (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-10024) CLONE - Fix the editlog corruption exposed by failed TestAddStripedBlocks
Date Tue, 15 Mar 2016 08:15:36 GMT
dragon created HDFS-10024:
-----------------------------

             Summary: CLONE - Fix the editlog corruption exposed by failed TestAddStripedBlocks
                 Key: HDFS-10024
                 URL: https://issues.apache.org/jira/browse/HDFS-10024
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: dragon
            Assignee: Jing Zhao
             Fix For: HDFS-7285


{{TestAddStripedBlocks}} failed with some editlog corruption. Did some debugging, I can see
at least two issues:
# DFSStripedOutputStream tries to send out an empty packet to close the block even if writing
0 bytes
# Because of the above, NN tries to close the file. This exposes another bug in {{BlockInfoStriped}},
which writes its data/parity block numbers into the close editlog but do not read them while
loading.

This jira aims to only fix #2 and HDFS-8166 is used for fixing #1.



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

Mime
View raw message