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

Remove the use of obsolete BLOCK_DELETION_INCREMENT

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      As early as HDFS-13831, it was already
      Removed the obsolete BLOCK_DELETION_INCREMENT, but ignored another use of BLOCK_DELETION_INCREMENT.
      E.g:
      /**

      • From the given list, incrementally remove the blocks from blockManager
      • Writelock is dropped and reacquired every BLOCK_DELETION_INCREMENT to
      • ensure that other waiters on the lock can get in. See HDFS-2938
        *
      • @param blocks
      • An instance of {@link BlocksMapUpdateInfo}

        which contains a list

      • of blocks that need to be removed from blocksMap
        */
        void removeBlocks(BlocksMapUpdateInfo blocks) { ...... }

      Attachments

        Issue Links

          Activity

            People

              jianghuazhu JiangHua Zhu
              jianghuazhu JiangHua Zhu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m