Updated code samples for the book "Hadoop In Action", ISBN: 9781935182191 (2010), based on Hadoop 2