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/trunk@1242220 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Todd Lipcon 2012-02-09 05:28:40 +00:00
parent 987449b9b8
commit a1574e1715
2 changed files with 4 additions and 2 deletions

View File

@ -218,6 +218,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

@ -152,8 +152,8 @@ class NameNodeRpcServer implements NamenodeProtocols {
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);
RPC.setProtocolEngine(conf, ClientNamenodeProtocolPB.class,
ProtobufRpcEngine.class);