Feb 23 in Big Data | Hadoop

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

Feb 23

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/ start datanode

$ bin/ 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.

Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

Jul 16, 2019 in JavaScript
Feb 8 in Agile
Aug 12, 2019 in Service Discovery