HDFS-2700. Fix failing TestDataNodeMultipleRegistrations in trunk. Contributed by Uma Maheswara Rao G.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1220315 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
191b56d802
commit
fa1edc9a1e
@ -175,6 +175,9 @@ Trunk (unreleased changes)
|
|||||||
HDFS-2687. Tests failing with ClassCastException post protobuf RPC
|
HDFS-2687. Tests failing with ClassCastException post protobuf RPC
|
||||||
changes. (suresh)
|
changes. (suresh)
|
||||||
|
|
||||||
|
HDFS-2700. Fix failing TestDataNodeMultipleRegistrations in trunk
|
||||||
|
(Uma Maheswara Rao G via todd)
|
||||||
|
|
||||||
Release 0.23.1 - UNRELEASED
|
Release 0.23.1 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
@ -53,6 +53,7 @@
|
|||||||
import org.apache.hadoop.hdfs.server.protocol.NamespaceInfo;
|
import org.apache.hadoop.hdfs.server.protocol.NamespaceInfo;
|
||||||
import org.apache.hadoop.hdfs.server.protocol.ReceivedDeletedBlockInfo;
|
import org.apache.hadoop.hdfs.server.protocol.ReceivedDeletedBlockInfo;
|
||||||
import org.apache.hadoop.hdfs.server.protocol.UpgradeCommand;
|
import org.apache.hadoop.hdfs.server.protocol.UpgradeCommand;
|
||||||
|
import org.apache.hadoop.io.IOUtils;
|
||||||
import org.apache.hadoop.ipc.RPC;
|
import org.apache.hadoop.ipc.RPC;
|
||||||
import org.apache.hadoop.ipc.RemoteException;
|
import org.apache.hadoop.ipc.RemoteException;
|
||||||
import org.apache.hadoop.util.StringUtils;
|
import org.apache.hadoop.util.StringUtils;
|
||||||
@ -447,7 +448,7 @@ private synchronized void cleanUp() {
|
|||||||
if(upgradeManager != null)
|
if(upgradeManager != null)
|
||||||
upgradeManager.shutdownUpgrade();
|
upgradeManager.shutdownUpgrade();
|
||||||
shouldServiceRun = false;
|
shouldServiceRun = false;
|
||||||
RPC.stopProxy(bpNamenode);
|
IOUtils.cleanup(LOG, bpNamenode);
|
||||||
dn.shutdownBlockPool(this);
|
dn.shutdownBlockPool(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user