Review Board 1.7.22


Pig and MR fail to write to a sequence file ( HCAT-291)

Review Request #4281 - Created March 10, 2012 and updated

Vandana Ayyalasomayajula
Reviewers
hcatalog
dcapwell, francisliu, rohini
hcatalog
Creating a table stored a sequence file and trying to write data into it using Pig or MR fails with NPE.
Unit tests added and they pass. 
Review request changed
Updated (March 14, 2012, 8:48 p.m.)
-- Moved the setting of mapred output key and value class to FileOutputFormat, so that the updated props are available only before the record writer is created. 
-- Added a test case for text MR job.
Ship it!
Posted (March 15, 2012, 12:40 a.m.)
minor nitpick unit tests passed.
you can use HCatOutputFormat.getJobInfo()