You can add a new storage directory and specify the storage type using Cloudera
Manager.
-
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 the HDFS heterogeneous storage, add the storage type,
surrounded by brackets, at the front of the path. For example:
[SSD]/data/example_dir/
.
-
Enter a Reason for change, and then click Save
Changes to commit the changes.
-
Restart the DataNode.