Tuning Namenode
In this recipe, we will look at tuning Namenode by making some important configuration changes. Namenode is more CPU and memory bound and must run on hardware with multi-core CPU and large memory to accommodate the entire namespace.
We will look at parameters only for the Namenode, which in production will come into effect in conjunction with HDFS and Datanode parameters, discussed in this chapter.
Getting ready
To complete the recipe, the user must have a running cluster with HDFS and YARN setup. Users can refer to Chapter 1, Hadoop Architecture and Deployment, for installation details.
The assumption here is that the user is well familiar with Namenode functionality and can edit and restart services for changes to be effective.
Get Hadoop 2.x Administration Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.