hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dhruba borthakur (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-2460) NameNode could delete wrong edits file when there is an error
Date Wed, 19 Dec 2007 06:18:43 GMT

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

dhruba borthakur updated HADOOP-2460:
-------------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I just committed this. Thanks Raghu!

> NameNode could delete wrong edits file when there is an error
> -------------------------------------------------------------
>
>                 Key: HADOOP-2460
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2460
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.15.0
>            Reporter: Raghu Angadi
>            Assignee: dhruba borthakur
>             Fix For: 0.15.2
>
>         Attachments: HADOOP-2460.patch
>
>
> On one of the clusters two namenode directories were specified. The second directory
had errors and edits log sync failed. Namenode was supposed to run with the good directory,
but it exited with a 'fatal error' message.
> Looks like it is caused by a bug in {{processIOError()}} in FSEditsLog.java. It removes
the wrong directory since it passes in index into {{errorStreams}} rather than index into
{{editStreams}} by mistake.
> This probably should go in 0.15.2.

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