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