Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Cluster Start Fail - Command 'ZkStartPreservingDatastore' failed for service 'zookeeper'

Highlighted

Cluster Start Fail - Command 'ZkStartPreservingDatastore' failed for service 'zookeeper'

Explorer

Using the 5.3.0 Virtualbox VM; trying to start the cluster; used to work but no longer, now getting this error message:

 

Command 'Start' failed for cluster 'Cloudera QuickStart'
Command 'ZkStartPreservingDatastore' failed for service 'zookeeper'

 

Zookeeper appears to be running:

[cloudera@quickstart ~]$ sudo service zookeeper-server start
JMX enabled by default
Using config: /etc/zookeeper/conf/zoo.cfg
Starting zookeeper ... already running as process 23023.

 

Not seeing any obvious exceptions in the zookeeper logs.

 

Then tried starting up hbase and that failed with this error:

Service did not start successfully; not all of the required roles started: Service has only 0 Master roles running instead of minimum required 1.

 

1 REPLY 1
Highlighted

Re: Cluster Start Fail - Command 'ZkStartPreservingDatastore' failed for service 'zookeeper'

Explorer
May have been because HDFS was corrupted.

To check if your HDFS is healthy, run this as hdfs user:
hdfs fsck /
Don't have an account?
Coming from Hortonworks? Activate your account here