HDFS-2923. Namenode IPC handler count uses the wrong configuration key. Contributed by Todd Lipcon.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1242219 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Todd Lipcon 2012-02-09 05:28:09 +00:00
parent 460804213b
commit 6ebceaeede
2 changed files with 4 additions and 2 deletions

View File

@ -16,6 +16,8 @@ Release 0.23.2 - UNRELEASED
OPTIMIZATIONS
BUG FIXES
HDFS-2923. Namenode IPC handler count uses the wrong configuration key
(todd)
Release 0.23.1 - 2012-02-08

View File

@ -124,8 +124,8 @@ public NameNodeRpcServer(Configuration conf, NameNode nn)
this.metrics = NameNode.getNameNodeMetrics();
int handlerCount =
conf.getInt(DFS_DATANODE_HANDLER_COUNT_KEY,
DFS_DATANODE_HANDLER_COUNT_DEFAULT);
conf.getInt(DFS_NAMENODE_HANDLER_COUNT_KEY,
DFS_NAMENODE_HANDLER_COUNT_DEFAULT);
InetSocketAddress socAddr = nn.getRpcServerAddress(conf);
InetSocketAddress dnSocketAddr = nn.getServiceRpcServerAddress(conf);