[
https://issues.apache.org/jira/browse/HDFS-16118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18040936#comment-18040936
]
ASF GitHub Bot commented on HDFS-16118:
---------------------------------------
github-actions[bot] commented on PR #3186:
URL: https://github.com/apache/hadoop/pull/3186#issuecomment-3583629300
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.
> Improve the number of handlers that initialize
> NameNodeRpcServer#clientRpcServer
> --------------------------------------------------------------------------------
>
> Key: HDFS-16118
> URL: https://issues.apache.org/jira/browse/HDFS-16118
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: JiangHua Zhu
> Assignee: JiangHua Zhu
> Priority: Major
> Labels: pull-request-available
> Time Spent: 40m
> Remaining Estimate: 0h
>
> When initializing NameNodeRpcServer, if the value of
> dfs.namenode.lifeline.handler.count is set to be less than 0 (such as -1, of
> course, this is rare), when determining the number of lifeline RPC handlers,
> it will be based on dfs.namenode.handler .count * lifelineHandlerRatio is
> determined.
> The code can be found:
> int lifelineHandlerCount = conf.getInt(
> DFS_NAMENODE_LIFELINE_HANDLER_COUNT_KEY, 0);
> if (lifelineHandlerCount <= 0) {
> float lifelineHandlerRatio = conf.getFloat(
> DFS_NAMENODE_LIFELINE_HANDLER_RATIO_KEY,
> DFS_NAMENODE_LIFELINE_HANDLER_RATIO_DEFAULT);
> lifelineHandlerCount = Math.max(
> (int)(handlerCount * lifelineHandlerRatio), 1);
> }
> When this happens, the handlerCount should be subtracted from the
> lifelineHandlerCount when in fact it doesn't.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]