[ 
https://issues.apache.org/jira/browse/HDFS-16229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

JiangHua Zhu reassigned HDFS-16229:
-----------------------------------

    Assignee: JiangHua Zhu

> Remove the use of obsolete BLOCK_DELETION_INCREMENT
> ---------------------------------------------------
>
>                 Key: HDFS-16229
>                 URL: https://issues.apache.org/jira/browse/HDFS-16229
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: JiangHua Zhu
>            Assignee: JiangHua Zhu
>            Priority: Major
>
> 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) {
>    ......
> }



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to