in Big Data | Hadoop by

The requirement is to add a new data node to a running Hadoop cluster; how do I start services on just one data node?

1 Answer

0 votes
by

You do not need to shutdown and/or restart the entire cluster in this case.

First, add the new node's DNS name to the conf/slaves file on the master node.

Then log in to the new slave node and execute -

$ cd path/to/hadoop

$ bin/hadoop-daemon.sh start datanode

$ bin/hadoop-daemon.sh start tasktracker

then issuehadoop dfsadmin -refreshNodes and hadoop mradmin -refreshNodes so that the NameNode and JobTracker know of the additional node that has been added.

Related questions

+1 vote
asked Jan 29, 2022 in Big Data | Hadoop by sharadyadav1986
0 votes
asked Feb 5, 2020 in Big Data | Hadoop by SakshiSharma
0 votes
asked Jan 7, 2020 in Big Data | Hadoop by sharadyadav1986
...