Hadoop Common
  1. Hadoop Common
  2. HADOOP-2460

NameNode could delete wrong edits file when there is an error

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.15.0
    • Fix Version/s: 0.15.2
    • Component/s: None
    • Labels:
      None

      Description

      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.

      1. HADOOP-2460.patch
        1.0 kB
        Raghu Angadi

        Activity

        Owen O'Malley made changes -
        Component/s dfs [ 12310710 ]
        Nigel Daley made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        dhruba borthakur made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        dhruba borthakur made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Raghu Angadi made changes -
        Field Original Value New Value
        Attachment HADOOP-2460.patch [ 12371903 ]
        Raghu Angadi created issue -

          People

          • Assignee:
            dhruba borthakur
            Reporter:
            Raghu Angadi
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development