Configuring 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. To specify the storage type for HDFS heterogenous storage, add the storage type, surrounded by brackets, at the front of the path. For example:
[SSD]/data/example_dir/
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.
- Restart the DataNode.
Important: You must restart the DataNodes for heterogenous storage configuration changes to take effect.
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.
Page generated July 8, 2016.
<< DataNodes | ©2016 Cloudera, Inc. All rights reserved | Configuring Storage Balancing for DataNodes >> |
Terms and Conditions Privacy Policy |