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:
Jonathan Hsieh 2013-02-13 18:40:18 +00:00
parent 8d117a6117
commit 65d9c0d6d2
1 changed files with 3 additions and 1 deletions

View File

@ -2044,7 +2044,9 @@ Server {
}
public void shutdown() throws IOException {
spanReceiverHost.closeReceivers();
if (spanReceiverHost != null) {
spanReceiverHost.closeReceivers();
}
if (cpHost != null) {
cpHost.preShutdown();
}