Adding and Removing Storage Directories for DataNodes
Adding and Removing Storage Directories Using Cloudera Manager
Adding Storage Directories
Minimum Required Role: Configurator (also provided by Cluster Administrator, Full Administrator)
- Go to the HDFS service.
- Click the Configuration tab.
- Select .
- Add the new storage directory to the DataNode Data Directory property.
If more than one role group applies to this configuration, edit the value for the appropriate role group. See Modifying Configuration Properties Using Cloudera Manager.
- Click Save Changes to commit the changes.
Removing Storage Directories
Minimum Required Role: Cluster Administrator (also provided by Full Administrator)
- Stop the cluster.
- Go to the HDFS service.
- Click the Configuration tab.
- Select .
- Remove the current directories and add new ones to the DataNode Data Directory property.
If more than one role group applies to this configuration, edit the value for the appropriate role group. See Modifying Configuration Properties Using Cloudera Manager.
- Click Save Changes to commit the changes.
- Copy the contents under the old directory to the new directory.
- Start the cluster.