集群中3个节点,第一个started,第二个说Starting zookeeper ... already running as process xxxx,第三个说Starting zookeeper ... already running as process yyyy. 原来是相应目录下残留的pid文件导致启动失败,打开那个文件一看里边的进程号正是提示出现的xxxx,yyyy.删除他们后重启,好了.
zookeeper启动时正常,查看状态时出错 处理,通过 ./zkServer.sh status 报错Error contacting service. It is probably not running. ./zkServer.sh start-foreground 发现是jdk环境变量出错./zkServer.sh: line 149: /usr/java/jdk1.7.0.67-cloudera/bin/java: 没有那个文件或目录 处理设置环境变量 vim /etc/profile
安装zookeeper-3.3.2的时候,启动正常没报错,但zkServer.sh status查看状态的时候却出现错误,如下: JMX enabled by defaultUsing config: /hadoop/zookeeper/bin/../conf/zoo.cfgError contacting service. It is probably not running. jps查看进程,却发现进程已启动 7313 QuorumPeerMain 在网上查阅资料一共有三种解决方法: 1,