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

  1. Log on to your cluster in SSH mode. For more information, see Log on to a cluster.
  2. Run the following command to connect to ZooKeeper by using the zkCli.sh CLI:
    zkCli.sh -server master-1-1:2181

    After you connect to ZooKeeper, you can run the help command to display all commands that are supported by ZooKeeper.

References

For more information about ZooKeeper, see ZooKeeper Getting Started Guide.