Update the Data and Transaction Log Directory

You can update the Data and Transaction Log Directory for ZooKeeper Service.

These instructions must be performed to update the Data and Transaction Log Directory for a ZooKeeper role. Ensure to stop the ZooKeeper role on the host you wish to update.

  1. In Cloudera Manager, access the ZooKeeper service Configuration page
  2. Search for the Data Directory (dataDir) and Transaction Log Directory (dataLogDir) and modify it.
  3. Save the changes
  4. Move the contents from the old dataDir/dataLogDir to the new location on the host. Make sure the permissions are intact in the new disk, same as the old dataDir/dataLogDir
  5. Start the ZooKeeper role on the host
  6. Repeat for the remaining ZooKeeper roles. You can perform these steps on all of the nodes at the same time, unless there is a downtime