...
|
...
|
@@ -92,7 +92,7 @@ public class ZkMonitorHandleServiceImpl implements IZkMonitorHandleService { |
|
|
client.start();
|
|
|
List<String> children = client.getChildren().forPath("/");
|
|
|
} catch (Exception e) {
|
|
|
log.error("get zookeeper children failed");
|
|
|
log.error("get zookeeper children failed param ip {}:",ip);
|
|
|
return 0;
|
|
|
}finally {
|
|
|
client.close();
|
...
|
...
|
|