Use multiple ZooKeeper services

Only services that are not dependent can use different ZooKeeper services.

Cloudera Manager requires dependent services within Cloudera Runtime to use the same ZooKeeper service. If you configure dependent Cloudera Runtime services to use different ZooKeeper services, Cloudera Manager reports the following error:
com.cloudera.cmf.command.CmdExecException:java.lang.RuntimeException: java.lang.IllegalStateException: Assumption violated:
getAllDependencies returned multiple distinct services of the same type
at SeqFlowCmd.java line 120
in com.cloudera.cmf.command.flow.SeqFlowCmd run()

Cloudera Runtime services that are not dependent can use different ZooKeeper services. For example, Kafka does not depend on any services other than ZooKeeper. You might have one ZooKeeper service for Kafka, and one ZooKeeper service for the rest of your Cloudera Runtime services.