Parquet/parquet-mr — pull request #172 by colinmarc (2013-09-16 21:56:34+00:00)
Title: Add sink support for parquet.cascading.ParquetTBaseScheme

This patch expands `ParquetTBaseScheme` so that it can be used as a cascading sink. It also adds a new class, `DeprecatedParquetOutputFormat`, to mirror `DeprecatedParquetInputFormat` and provide a bridge for using the deprecated `mapred` output classes with Parquet.

The only other changes in here are some slight adjustments to the `ParquetOutputFormat` public interfaces:
- a new overload is provided for `getRecordWriter` (which takes a `Configuration` instead of a `TaskAttemptContext`)
- the configuration getter convenience methods (eg `getBlockSize`) are changed to take a `Configuration` instead of a `JobContext`. This was required for the deprecated output format class, since no `JobContext` is available in that case. It also more closely matches `ParquetInputFormat`, FWIW.

Thanks for the awesome project! :elephant: