zookeeper – unify two zookeepers that are in the s… – Cloudera Community

hi community cloudera,

i have a cluster with two Zookeepers.

1. Zookeeper is used by all services in the cluster.

2. Zookeeper-kfk is used by the Kafka service.

however, for Ranger to manage permissions in Kafka, Kafka needs to use the same Zookeeper that Ranger uses.

therefore, I need to merge the two Zookeepers. I’ve tried using zkcopy.py, but I always get the error “ERROR: Source path “/var/lib/zookeeper” does not exist.“, but the directory exists in the source.

ls -l /var/lib/zookeeper

total 8
-rw-r–r– 1 zookeeper zookeeper 2 Oct 8 11:24 myid
drwxr-xr-x 2 zookeeper zookeeper 4096 Oct 8 11:25 version-2

cloudera’s official support doesn’t have a procedure for this issue. Therefore, I’d like to know if anyone has managed to run zkcopy.py with success or used another method to merge two Zookeepers in the same cluster?

Read more here: Source link