zookeeper 3.4.6启动抛出 Invalid arguments, exiting abnormally java.lang.NumberFormatException 异常
2017-09-11 09:46
956 查看
现象问题
windows环境下安装zookeeper3.4.6,用配置文件模板zoo_sample.cfg修改成配置文件zoo.cfg,内容代码如下:# The number of milliseconds of each tick tickTime=2000 # The number of ticks that the initial # synchronization phase can take initLimit=10 # The number of ticks that can pass between # sending a request and getting an acknowledgement syncLimit=5 # the directory where the snapshot is stored. # do not use /tmp for storage, /tmp here is just # example sakes. dataDir=C:/zookeeper/tmp/data # the port at which the clients will connect clientPort=2181 # the maximum number of client connections. # increase this if you need to handle more clients #maxClientCnxns=60 # # Be sure to read the maintenance section of the # administrator guide before turning on autopurge. # # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance # # The number of snapshots to retain in dataDir #autopurge.snapRetainCount=3 # Purge task interval in hours # Set to "0" to disable auto purge feature #autopurge.purgeInterval=1
用zkServer.cmd start 抛出Invalid arguments, exiting abnormally java.lang.NumberFormatException 异常,
解决办法:
启动时,改用zkServer.cmd启动,不带参数 start。相关文章推荐
- ZooKeeper 启动报错 Invalid arguments, exiting abnormally java.lang.NumberFormatException: 的解决办法
- 异常代码,抛出:java.lang.NumberFormatException: For input string 解决。
- java.lang.NumberFormatException: multiple points 异常
- java.lang.NumberFormatException: multiple points 异常 原创 2016年11月15日 20:48:09 标签:java 3032 平时使用SimpleD
- springmvc数据绑定出现异常 java.lang.NumberFormatException
- java.lang.NumberFormatException: multiple points 异常
- weblogic集群无法启动,提示java.lang.NumberFormatException
- Java异常之数字转换异常--java.lang.NumberFormatException
- 如何解决异常:java.lang.NumberFormatException: For input string: "null"
- weblogic集群无法启动,提示java.lang.NumberFormatException
- welogic不能启动主服务器,出现 java.lang.NumberFormatException: null错误
- 【Android】java.lang.NumberFormatException: Expected an int but was 53.81 at line 1 column 782 异常
- Struts2访问验证码异常解决OgnlValueStack:64 - ..java.lang.NumberFormatException: For input string: "1494056190
- android异常收集- java.lang.NumberFormatException
- java中的java.lang.NumberFormatException异常
- java.lang.NumberFormatException: multiple points 异常
- Java.lang.NumberFormatException分析
- Struts2环境下Tomcat启动异常:Exception starting filter struts2,报了一个java.lang.ClassNotFoundException
- java.lang.NumberFormatException
- Servlet.service() for servlet jsp threw exception java.lang.Il在jsp中使用jspsmartupload组件下载文件时将抛出异常的解决方案