Review Board 1.7.22


HCatOutputFormat.setOutput is called more than once by HCatStorer

Review Request #4623 - Created April 3, 2012 and updated

Vandana Ayyalasomayajula
0.4
hcatalog-314
Reviewers
hcatalog
francisliu, rohini, thw
hcatalog
HCatStorer.setStoreLocation() is called more than once by pig. Which ends up calling HCatOutputFormat.setOutput multiple times. HCatOutputFormat.setOutput should be called only once, the values that it changed must be tracked and reapplied to job.getconfiguration() the succeeding times it is called. HCatLoader may have the same issue and should be investigated as well.
Trunk build + tests pass. 
Review request changed
Updated (April 13, 2012, 9:32 p.m.)