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

Upgrading Hadoop

A Hadoop cluster needs to be upgraded when new versions with bug fixes or new features are released. In this recipe, we will outline steps to upgrade a Hadoop cluster to a newer version.

Getting ready

Download the desired Hadoop release from an Apache mirror site: http://www.apache.org/dyn/closer.cgi/hadoop/common/. In this book, we assume to upgrade Hadoop from version 1.1.2 to version 1.2.0, which is still in the beta state when writing this book.

We assume that there are no running or pending MapReduce jobs in the cluster.

Tip

In the process of upgrading a Hadoop cluster, we want to minimize the damage to the data stored on HDFS, and this procedure is the cause of most of the upgrade problems. The data damages can be caused by either ...

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