Replace a ZooKeeper disk

You can replace a ZooKeeper Disk but first you must stop the ZooKeeper role.

  1. In Cloudera Manager, select the ZooKeeper service.
  2. Click the Configuration tab.
  3. Search for data directory.
  4. Find the Data Directory property and update as applicable.
  5. Find the Transaction Log Directory property and update as applicable.
  6. Click Save Chages.
  7. Click the Instances tab.
  8. Select one ZooKeeper role.
  9. Click the Actions for Selected button.
  10. Select Stop.
  11. Move the contents to the new disk location and modify mounts as needed.
    Ensure that the permissions and ownership are correct.
  12. Select the same ZooKeeper role.
  13. Click the Actions for Selected button.
  14. Select Start.
  15. Repeat step 8-14 for any remaining ZooKeeper roles.