In this blog I discuss an issue I faced in installation of Cloudera Zookeeper service during installation (5.15.0)
Issue - Failing Zookeper Installation
Symptoms
Logon to one of the node where you are trying to install the zookepere service
cd /var/log/zookeeper
2018-07-05 05:35:35,792 ERROR org.apache.zookeeper.server.quorum.QuorumPeerMain: Invalid config, exiting abnormally
org.apache.zookeeper.server.quorum.QuorumPeerConfig$ConfigException: Error processing /run/cloudera-scm-agent/process/115-zookeeper-server/zoo.cfg.
Solution
run below Command on each server and resume the installation, it should complete successfully.
chmod 755 /var/lib/zookeeper;
chown zookeeper.zookeeper /var/lib/zookeeper;
ls -altrid /var/lib/zookeeper;
setfacl -m "u:zookeeper:rwx,g:zookeeper:rwx" /var/lib/zookeeper/;
getfacl /var/lib/zookeeper/;
mkdir /var/lib/zookeeper/version-2;
chown zookeeper.zookeeper /var/lib/zookeeper/version-2;
Issue - Failing Zookeper Installation
Symptoms
Logon to one of the node where you are trying to install the zookepere service
cd /var/log/zookeeper
2018-07-05 05:35:35,792 ERROR org.apache.zookeeper.server.quorum.QuorumPeerMain: Invalid config, exiting abnormally
org.apache.zookeeper.server.quorum.QuorumPeerConfig$ConfigException: Error processing /run/cloudera-scm-agent/process/115-zookeeper-server/zoo.cfg.
Solution
run below Command on each server and resume the installation, it should complete successfully.
chmod 755 /var/lib/zookeeper;
chown zookeeper.zookeeper /var/lib/zookeeper;
ls -altrid /var/lib/zookeeper;
setfacl -m "u:zookeeper:rwx,g:zookeeper:rwx" /var/lib/zookeeper/;
getfacl /var/lib/zookeeper/;
mkdir /var/lib/zookeeper/version-2;
chown zookeeper.zookeeper /var/lib/zookeeper/version-2;
No comments:
Write comments