|
Harsh J |
at Sep 3, 2013 at 5:46 am
|
⇧ |
| |
You're mixing two different approaches together. If you are using CM,
doing all those local commands is unnecessary as CM takes care of it
for you, and is therefore the source of your problem.
Please stick with one approach - use CM or run local commands/services
via packages. If you follow a single proper install guide, you
wouldn't run into such a confusion:
http://www.cloudera.com/content/cloudera-content/cloudera-docs/CM4Ent/latest/Cloudera-Manager-Installation-Guide/Cloudera-Manager-Installation-Guide.htmlTo resolve your situation, please remove all data under all ZK
machine's dataDir (typically /var/lib/zookeeper), and remove all
"zookeeper-server" named packages, and head back to CM -> ZK ->
Actions button -> Click "Initialize". After the initialization
completes, start ZK.
On Tue, Sep 3, 2013 at 11:09 AM, wrote:
Hi,
I am creating 3 zookeper servers using package.
I get the following error:
-> Command 'ZkStartPreservingDatastore' failed for service 'zookeeper1'
-> Supervisor returned FATAL. Please check the role log file, stderr, or
stdout.
Any help is appreciated.
I followed the below steps: (Am i missing any step?!)
# yum install zookeeper
# yum install zookeeper-server
On <server-1>:
# service zookeeper-server init --myid=1
On <server-2>:
# service zookeeper-server init --myid=2
On <server-3>:
# service zookeeper-server init --myid=3
All Nodes:
# vim /etc/zookeeper/conf/zoo.cfg
Adding the below lines in the zoo.cfg file:
# Machines in the ensemble
server.1=<server-1>:2888:3888
server.2=<server-2>:2888:3888
server.3= <server-3>:2888:3888
All Nodes:
# service zookeeper-server start
Thanks,
Puneetha
To unsubscribe from this group and stop receiving emails from it, send an
email to scm-users+unsubscribe@cloudera.org.
--
Harsh J
To unsubscribe from this group and stop receiving emails from it, send an email to scm-users+unsubscribe@cloudera.org.