To add new nodes to the HDFS cluster, the host names should be added to the slaves file and then DataNode and TaskTracker should be started on the new node.
To remove or decommission nodes from the HDFS cluster, the hostnames should be removed from the slaves file and –refreshNodes should be executed.
Copyright ©2022 coderraj.com. All Rights Reserved.