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/
To apply this configuration property to other role groups as needed, 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.
To apply this configuration property to other role groups as needed, 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 May 18, 2018.
<< DataNodes | ©2016 Cloudera, Inc. All rights reserved | Configuring Storage Balancing for DataNodes >> |
Terms and Conditions Privacy Policy |