HBASE-7459 NPE in HMaster TestLocalHBaseCluster
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445820 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8d117a6117
commit
65d9c0d6d2
|
@ -2044,7 +2044,9 @@ Server {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void shutdown() throws IOException {
|
public void shutdown() throws IOException {
|
||||||
|
if (spanReceiverHost != null) {
|
||||||
spanReceiverHost.closeReceivers();
|
spanReceiverHost.closeReceivers();
|
||||||
|
}
|
||||||
if (cpHost != null) {
|
if (cpHost != null) {
|
||||||
cpHost.preShutdown();
|
cpHost.preShutdown();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue