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

Handle possible NPEs due to deleted blocks in race condition

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.2.0, 3.0.4, 3.1.2
    • namenode
    • None
    • 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

        1. HDFS-13027-01.patch
          4 kB
          Vinayakumar B

        Issue Links

          Activity

            People

              vinayakumarb Vinayakumar B
              vinayakumarb Vinayakumar B
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: