[ 
https://issues.apache.org/jira/browse/HDFS-15452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18044561#comment-18044561
 ] 

ASF GitHub Bot commented on HDFS-15452:
---------------------------------------

github-actions[bot] commented on PR #2128:
URL: https://github.com/apache/hadoop/pull/2128#issuecomment-3644369102

   We're closing this stale PR because it has been open for 100 days with no 
activity. This isn't a judgement on the merit of the PR in any way. It's just a 
way of keeping the PR queue manageable.
   If you feel like this was a mistake, or you would like to continue working 
on it, please feel free to re-open it and ask for a committer to remove the 
stale tag and review again.
   Thanks all for your contribution.




> Dynamically initialize the capacity of BlocksMap
> ------------------------------------------------
>
>                 Key: HDFS-15452
>                 URL: https://issues.apache.org/jira/browse/HDFS-15452
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 3.0.3
>            Reporter: JiangHua Zhu
>            Assignee: JiangHua Zhu
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HDFS-15452.001.patch
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> The default value for initializing BlocksMap in the BlockManager class is 2. 
> This can be set to a dynamic value.
> BlockManager#BlockManager() {
> ......
> // Compute the map capacity by allocating 2% of total memory
> blocksMap = new BlocksMap(
>  LightWeightGSet.computeCapacity(2.0, "BlocksMap"));
> ......
> }
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to