Replace a ZooKeeper role with ZooKeeper service downtime
You can replace a ZooKeeper role with ZooKeeper service downtime.
- In Cloudera Manager, select the ZooKeeper service.
- Click the Instances tab.
- Select the ZooKeeper role on the old host.
- Click the Actions for Selected button.
- Select Stop.
- Click the Actions for Selected button.
- Select Delete.
- Click the Add Role Instances button.
- Select the new host.
- Click Continue.
- Confirm the changes.
- Click Continue.
- Restart the old ZooKeeper servers that have outdated configuration.
- Select the ZooKeeper service.
- Click the Status tab.
- Confirm the ZooKeeper service elected one of the restarted hosts as a leader.
- Restart the newly added ZooKeeper server.
- Restart any dependent services, such as HBase, HDFS, YARN or Hive, that are marked to have stale configuration.