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 {
|
||||
spanReceiverHost.closeReceivers();
|
||||
if (spanReceiverHost != null) {
|
||||
spanReceiverHost.closeReceivers();
|
||||
}
|
||||
if (cpHost != null) {
|
||||
cpHost.preShutdown();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue