Check the dependent services to make sure they are operating correctly.
Check at the ZooKeeper logs files (
/var/log/hadoop/zookeeper.log
) for further information.If the failure was associated with a particular workload, try to understand the workload better.
Restart the ZooKeeper servers from the Ambari UI.