Details
-
Improvement
-
Status: In Progress
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
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)
When this happens, the handlerCount should be subtracted from the lifelineHandlerCount when in fact it doesn't.
Attachments
Issue Links
- links to