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

Handle possible NPEs due to deleted blocks in race condition

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0, 3.0.4, 3.1.2
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Since File deletions and Block removal from BlocksMap done in separate locks, there are possibilities of NPE due to calls of blockManager.getBlockCollection(block) returning null.

      Handle all possibilities of NPEs due to this.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vinayrpet Vinayakumar B
                Reporter:
                vinayrpet Vinayakumar B
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: