O'Reilly logo

Hadoop Operations and Cluster Management Cookbook by Shumin Guo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Replacing a slave node

Sometimes, we need to replace a slave node with new hardware. For example, the slave node is not stable, more storage space or more powerful CPUs are desired, and so on. In this recipe, we will outline the steps to replace a slave node.

Getting ready

We assume that replacement hardware is ready for use. And for illustration purposes, we suppose slave2 needs to be replaced in this book.

How to do it...

Perform the following steps to replace a slave node:

  1. Decommission the TaskTracker on the slave node with the steps outlined in the Managing TaskTracker recipe of this chapter.
  2. Decommission the DataNode on the slave node with the steps outlined in the Decommission DataNode recipe of this chapter.
  3. Power off the slave node and replace ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required