Zookeeper:无法写入PID [英] Zookeeper: FAILED TO WRITE PID

查看:135
本文介绍了Zookeeper:无法写入PID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我正在尝试开始使用 Accumulo.我安装了 Hadoop,它运行时没有问题,但是当我尝试启动 Zookeeper 时,我得到:

So I'm trying to to get started with Accumulo. I installed Hadoop and it runs w/o problems but when I try to start Zookeeper I get:

JMX enabled by default
Using config: /opt/zookeeper/bin/../conf/zoo.cfg
-n Starting zookeeper ... 
/opt/zookeeper/bin/zkServer.sh: line 103: /tmp/zookeeper/zookeeper_server.pid: No such file or directory
FAILED TO WRITE PID

我环顾四周似乎找不到答案.

I've looked around can't seem to find an answer.

推荐答案

我遇到了同样的问题.就我而言,启动 Zookeeper 并直接指定配置文件很有用:

I have had the same problem. In my case was useful to start Zookeeper and directly specify a configuration file:

/bin/zkServer.sh 启动 conf/zoo.conf

/bin/zkServer.sh start conf/zoo.conf

这篇关于Zookeeper:无法写入PID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆