Examples from Hadoop The definitive Guide