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:
parent
460804213b
commit
6ebceaeede
|
@ -16,6 +16,8 @@ Release 0.23.2 - UNRELEASED
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
HDFS-2923. Namenode IPC handler count uses the wrong configuration key
|
||||||
|
(todd)
|
||||||
|
|
||||||
Release 0.23.1 - 2012-02-08
|
Release 0.23.1 - 2012-02-08
|
||||||
|
|
||||||
|
|
|
@ -124,8 +124,8 @@ class NameNodeRpcServer implements NamenodeProtocols {
|
||||||
this.metrics = NameNode.getNameNodeMetrics();
|
this.metrics = NameNode.getNameNodeMetrics();
|
||||||
|
|
||||||
int handlerCount =
|
int handlerCount =
|
||||||
conf.getInt(DFS_DATANODE_HANDLER_COUNT_KEY,
|
conf.getInt(DFS_NAMENODE_HANDLER_COUNT_KEY,
|
||||||
DFS_DATANODE_HANDLER_COUNT_DEFAULT);
|
DFS_NAMENODE_HANDLER_COUNT_DEFAULT);
|
||||||
InetSocketAddress socAddr = nn.getRpcServerAddress(conf);
|
InetSocketAddress socAddr = nn.getRpcServerAddress(conf);
|
||||||
|
|
||||||
InetSocketAddress dnSocketAddr = nn.getServiceRpcServerAddress(conf);
|
InetSocketAddress dnSocketAddr = nn.getServiceRpcServerAddress(conf);
|
||||||
|
|
Loading…
Reference in New Issue