HBASE-2955 hbase-2692 broke replication -- committed HCM change by mistake
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@992426 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6f4e9c7117
commit
61f9214268
|
@ -1289,10 +1289,6 @@ public class HConnectionManager {
|
||||||
HBaseRPC.stopProxy(i);
|
HBaseRPC.stopProxy(i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (zooKeeper != null) {
|
|
||||||
zooKeeper.close();
|
|
||||||
zooKeeper = null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1527,6 +1523,10 @@ public class HConnectionManager {
|
||||||
public void abort(final String msg, Throwable t) {
|
public void abort(final String msg, Throwable t) {
|
||||||
if (t != null) LOG.fatal(msg, t);
|
if (t != null) LOG.fatal(msg, t);
|
||||||
else LOG.fatal(msg);
|
else LOG.fatal(msg);
|
||||||
|
if(zooKeeper != null) {
|
||||||
|
zooKeeper.close();
|
||||||
|
zooKeeper = null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue