Parquet/parquet-mr — pull request #35 by avibryant (2013-04-29 05:01:06+00:00)
Title: Hadoop 2 compatible DeprecatedParquetInputFormat

This introduces a DeprecatedParquetInputFormat class to replace the DeprecatedContainerInputFormat, with the goal of being source-compatible with Hadoop 2 (while maintaining compatibility with Hadoop 1).

For the most part, this involved refactoring ParquetInputFormat methods like getSplits() and getFooters() to place most of the logic in helper methods that take Configuration (which is compatible with mapred.JobConf) rather than JobContext (which is not, and which cannot be easily wrapped in a way that is compatible with both Hadoop 1 and 2). This allowed a simplified (about half the lines of code) mapred.InputFormat wrapper class to replace the old general-purpose one.

DeprecatedParquetInputFormat, and the Container class it uses, now live in parquet-hadoop which seems a more logical module than parquet-thrift.

This pull request does not actually change the build to use Hadoop 2, but all modules should now be able to build and run with it.