The new edition covers the latest changes to the 1.x (0.20) and the 2.x (0.23).Â The bookâ€™s examples now use the 2.x API throughout.Â Those still using the 1.x API wonâ€™t be left in the lurch because it is still discussed in the book.
There is extensive discussion of the runtime changes that come with Hadoop 2.0.Â This is the new distributed resource management system named YARN (Yet Another Resource Negotiator).Â While YARN is not recommended for production clusters, it is the future and very important to keep an eye on.Â TDG shows the new programming model for acquiring resources for a job.Â It also shows how YARN will make Hadoop more extensible for running other types of jobs.
Another addition is the new features of HDFS.Â The first is high availability (HA).Â HA address the single point of failure of having a single NameNode daemon.Â With the new HA feature, there is an active NameNode and standby NameNode running.Â TDG shows how this new failover mechanism works and the necessary settings.Â The second feature is federation.Â This allows a filesystem to have multiple NameNodes running different parts of the filesystem.Â Once again, TDG tells you how to set these things up and how it improves scalability.
The word â€˜Definitiveâ€™ in the bookâ€™s title is well founded.Â You can find virtually anything you want about Hadoop in this book.Â If you need to find that elusive parameter for changing spill size, TDG has it.Â A quick search will give you the parameter name, default value, and what it changes.Â If you need to know how a client HDFS reads a file and makes the relevant remote procedure calls (RPC), TDG has it.Â With a distributed system, these sorts of calls arenâ€™t as straightforward to track.
A cover-to-cover read may not be for everyone.Â TDG serves as a great reference.Â I recommend getting the PDF version because it facilitates a much quicker search.Â Â The smaller chapters on Hadoopâ€™s ecosystem projects are very handy.Â You may not use Hive or Pig on a daily basis and TDG can refresh your memory.
I highly recommend TDG and it is an essential part of your Hadoop bookshelf.Â As an Instructor and Curriculum Developer for Cloudera, I refer to the book extensively.