Remove storage directories using Cloudera Manager

You can use Cloudera Manager to remove existing storage directories and specify new directories.

  1. Stop the cluster.
  2. Go to the HDFS service.
  3. Click the Configuration tab.
  4. Select Scope > DataNode.
  5. Remove the current directories and add new ones to the DataNode Data Directory property.
  6. Enter a Reason for change, and then click Save Changes to commit the changes.
  7. Copy the contents under the old directory to the new directory.
  8. Start the cluster.