hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-1997) TestCheckpoint fails on Windows
Date Thu, 04 Oct 2007 21:38:51 GMT
TestCheckpoint fails on Windows
-------------------------------

                 Key: HADOOP-1997
                 URL: https://issues.apache.org/jira/browse/HADOOP-1997
             Project: Hadoop
          Issue Type: Bug
          Components: dfs
    Affects Versions: 0.15.0
         Environment: Windows
            Reporter: Konstantin Shvachko
            Assignee: Konstantin Shvachko
            Priority: Blocker


The bug is in the test. TestCheckpoint opens edits files in order to verify its length but
does not close it, so the
secondary name-node attempt to delete it (in order to move edits.new into it on Win) fails.
But this revealed 3 more bugs.
- FSEditLog.purgeEditLog() in case of delete / rename failure calls FSEditLog.processIOError(),
which should have
failed because all FSEditLog streams are closed by that time. It does not because the condition
for throwing the
exception is incorrect.
- In fact purgeEditLog() should call directly FSImage.processIOError() because again all streams
are closed.
- FSImage.processIOError() should also throw an exception if number of directories is <=1
rather than when it == 1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message