Renaming storage directories using Cloudera Manager
You can use Cloudera Manager to safely rename existing HDFS storage directories and update directory paths without risking data loss.
- Sign in to Cloudera Manager.
- In the left navigation menu, click Clusters.
- Click the HDFS cluster.
- Click Actions dropdown button and click Stop to stop the cluster.
- Go to the HDFS service.
- Click the Configuration tab.
- Select .
- Search for DataNode Data Directory property
- Remove the current directories and add new ones to the DataNode Data Directory property.
- Enter a Reason for change, and then click Save Changes to commit the changes.
- Copy the contents under the old directory to the new directory.
- Start the cluster.
