updated to reflect state of CDH4 and Hadoop 2 compatibility.