This topic describes how to connect to ZooKeeper in the E-MapReduce (EMR) console.
Prerequisites
An EMR cluster is created, and ZooKeeper is selected from the optional services when you create the cluster. For more information, see Create a cluster.Connect to ZooKeeper
- Log on to your cluster in SSH mode. For more information, see Log on to a cluster.
- Run the following command to connect to ZooKeeper by using the zkCli.sh CLI:
zkCli.sh -server master-1-1:2181After you connect to ZooKeeper, you can run the
helpcommand to display all commands that are supported by ZooKeeper.
References
For more information about ZooKeeper, see ZooKeeper Getting Started Guide.