AnsweredAssumed Answered

zookeeper fails with "Parent /services_config/fileserver missing for /services_config/fileserver/mapr07.localdomain"

Question asked by paz on Jun 10, 2014
Latest reply on Jun 10, 2014 by nabeel
Hi I am new to mapr and as such am now manually creating a three node cluster for the first time.
following the documentation after configuring the next step is to start the cluster. The first time I did this the zookeeper started fine as follows for each node:-

<pre>
[root@mapr05 ~]# service mapr-zookeeper qstatus
JMX enabled by default
Using config: /opt/mapr/zookeeper/zookeeper-3.4.5/conf/zoo.cfg
Mode: follower
[root@mapr06 ~]# service mapr-zookeeper qstatus
JMX enabled by default
Using config: /opt/mapr/zookeeper/zookeeper-3.4.5/conf/zoo.cfg
Mode: leader
[root@mapr07 ~]# service mapr-zookeeper qstatus
JMX enabled by default
Using config: /opt/mapr/zookeeper/zookeeper-3.4.5/conf/zoo.cfg
Mode: follower

</pre>
However I am now not able to successfully start the zookeeper as follows:-
<pre>
[root@mapr05 ~]# service mapr-zookeeper qstatus
JMX enabled by default
Using config: /opt/mapr/zookeeper/zookeeper-3.4.5/conf/zoo.cfg
Error contacting service. It is probably not running.
[root@mapr06 ~]# service mapr-zookeeper qstatus
JMX enabled by default
Using config: /opt/mapr/zookeeper/zookeeper-3.4.5/conf/zoo.cfg
Error contacting service. It is probably not running.
[root@mapr07 ~]# service mapr-zookeeper qstatus
JMX enabled by default
Using config: /opt/mapr/zookeeper/zookeeper-3.4.5/conf/zoo.cfg
Error contacting service. It is probably not running.
</pre>

Looking at the zookeeper logs I see two errors during startup but I could not understand what this means
<pre>
2014-06-11 09:35:49,883 [myid:0] - ERROR [main:FileTxnSnapLog@210] - Parent /services_config/fileserver missing for /services_config/fileserver/mapr07.localdomain
2014-06-11 09:35:49,887 [myid:0] - ERROR [main:QuorumPeer@453] - Unable to load database on disk
java.io.IOException: Failed to process transaction type: 1 error: KeeperErrorCode = NoNode for /services_config/fileserver
at org.apache.zookeeper.server.persistence.FileTxnSnapLog.restore(FileTxnSnapLog.java:153)
    ....

</pre>

Please help a df shows space is available on the filesystem not sure what I should do next?

Please advise?

Thaks
Paz

Outcomes