Open ouminAsk opened 4 years ago
自己调试一把看看,然后提交一个PR。 看报错是shutdown的钩子回调报错了。
这个问题解决没? mycat 版本: Mycat-server-1.6.7.6 也遇到这问题 反而我用Mycat-server-1.6.5是好的,但是这个版本schema.xml配置有个问题,table中subTables无法保存到zk。
这个问题可以通过禁用 shutdown hook 来解决。
在 mycat/conf/log4j2.xml
文件中增加以下内容:
<Configuration shutdownHook="disable" ...>
测试的版本为:Mycat-server-1.6.7.4
文件已经修改,并提交了PR。#2876
jdk版本: 1.8 zookeeper 版本: zookeeper-3.4.14 mycat 版本: Mycat-server-1.6.5-release-20180122220033-linux.tar.gz
通过zookeeper查看配置信息已经加载到了,就是这里报错了。 谢谢开发者