Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5077

NPE in FSNamesystem.commitBlockSynchronization()

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.5-alpha
    • 2.1.1-beta
    • namenode
    • None
    • Reviewed

    Description

      NN starts a block recovery, which will synchronize block replicas on different DNs. In the end one of DNs will report the list of the nodes containing the consistent replicas to the NN via commitBlockSynchronization() call. The NPE happens if just before processing commitBlockSynchronization() NN removes from active one of DNs that are then reported in the call.

      Attachments

        1. HDFS-5077.patch
          8 kB
          Plamen Jeliazkov
        2. HDFS-5077_2.patch
          5 kB
          Plamen Jeliazkov
        3. HDFS-5077_3.patch
          5 kB
          Plamen Jeliazkov
        4. HDFS-5077_3_branch2dot0.patch
          3 kB
          Plamen Jeliazkov

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            zero45 Plamen Jeliazkov
            shv Konstantin Shvachko
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment