HDFS-3949. NameNodeRpcServer#join should join on both client and server RPC servers. Contributed by Eli Collins
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1387839 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
03c1c9e951
commit
7c886009aa
|
@ -33,6 +33,9 @@ Release 2.0.3-alpha - Unreleased
|
|||
|
||||
HDFS-3951. datanode web ui does not work over HTTPS when datanode is started in secure mode. (tucu)
|
||||
|
||||
HDFS-3949. NameNodeRpcServer#join should join on both client and
|
||||
server RPC servers. (eli)
|
||||
|
||||
Release 2.0.2-alpha - 2012-09-07
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -285,10 +285,13 @@ class NameNodeRpcServer implements NamenodeProtocols {
|
|||
}
|
||||
|
||||
/**
|
||||
* Wait until the client RPC server has shutdown.
|
||||
* Wait until the RPC servers have shutdown.
|
||||
*/
|
||||
void join() throws InterruptedException {
|
||||
clientRpcServer.join();
|
||||
if (serviceRpcServer != null) {
|
||||
serviceRpcServer.join();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue