HBASE-2233 Support both Hadoop 0.20, 0.21, and 0.22
Review Request #858 - Created June 6, 2011 and updated
Patch for HBASE TRUNK that makes it so we run on hadoop 0.20.x or hadoop 0.22 branch (as it is now). Needed hdfs-1948 and hadoop-7531 applied to hadoop 0.22 branch. Because these issues are NOT in hadoop 0.21, hbase will not work against 0.21 hadoop, not w/o these patches and a rebuild.
Ran this patch with hadoop 0.20 and hadoop 0.22 underneath hbase (I used the patch for the pom that is attached to the issue to switch to hadoop 0.22). All unit tests seem to pass except TestHFileOutputFormat when up on hadoop 0.22; hadoop 0.22 uses avro 1.3.2 whereas hbase is up on avro 1.4.1. The test fails with a method not found exception. You need to enable mapreduce logging to see the exception.