O'Reilly logo

Hadoop 2.x Administration Cookbook by Gurmukh Singh

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

Chapter 6. Backup and Recovery

In this chapter, we will cover the following recipes:

  • Initiating Namenode saveNamespace
  • Using HDFS Image Viewer
  • Fetching parameters which are in-effect
  • Configuring HDFS and YARN logs
  • Backing up and recovering Namenode
  • Configuring Secondary Namenode
  • Promoting Secondary Namenode to Primary
  • Namenode recovery
  • Namenode roll edits – Online mode
  • Namenode roll edits – Offline mode
  • Datanode recovery – Disk full
  • Configuring NFS gateway to serve HDFS
  • Recovering deleted files

Introduction

In this chapter, we will configure backup, restore processes, logs, and recovery using Secondary Namenode. Despite high availability, it is very important to back up data for adverse situations, irrespective of the notion of having a Secondary / backup node ...

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