[
https://issues.apache.org/jira/browse/HCATALOG-36?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13235061#comment-13235061
] [email protected] commented on HCATALOG-36: ------------------------------------------------------- ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/4437/ ----------------------------------------------------------- Review request for hcatalog and Ranjit Mathew. Summary ------- Created MultiTableHCatOutputFormat that extends HCatOutputFormat. Reused most of the code Ranjit had posted. But removed all the extra repetitive code and totally relying on the underlying outputformat containers to do the job. This addresses bug HCATALOG-36. https://issues.apache.org/jira/browse/HCATALOG-36 Diffs ----- http://svn.apache.org/repos/asf/incubator/hcatalog/trunk/src/java/org/apache/hcatalog/common/HCatUtil.java 1303489 http://svn.apache.org/repos/asf/incubator/hcatalog/trunk/src/java/org/apache/hcatalog/mapreduce/DefaultOutputCommitterContainer.java 1303489 http://svn.apache.org/repos/asf/incubator/hcatalog/trunk/src/java/org/apache/hcatalog/mapreduce/FileOutputCommitterContainer.java 1303489 http://svn.apache.org/repos/asf/incubator/hcatalog/trunk/src/java/org/apache/hcatalog/mapreduce/FileOutputFormatContainer.java 1303489 http://svn.apache.org/repos/asf/incubator/hcatalog/trunk/src/java/org/apache/hcatalog/mapreduce/FosterStorageHandler.java 1303489 http://svn.apache.org/repos/asf/incubator/hcatalog/trunk/src/java/org/apache/hcatalog/mapreduce/MultiTableHCatOutputCommitter.java PRE-CREATION http://svn.apache.org/repos/asf/incubator/hcatalog/trunk/src/java/org/apache/hcatalog/mapreduce/MultiTableHCatOutputFormat.java PRE-CREATION http://svn.apache.org/repos/asf/incubator/hcatalog/trunk/src/java/org/apache/hcatalog/mapreduce/TableBasedHCatRecord.java PRE-CREATION http://svn.apache.org/repos/asf/incubator/hcatalog/trunk/src/java/org/apache/hcatalog/mapreduce/TableBasedHCatRecordWriter.java PRE-CREATION http://svn.apache.org/repos/asf/incubator/hcatalog/trunk/src/test/org/apache/hcatalog/mapreduce/TestMultiTableHCatOutputFormat.java PRE-CREATION Diff: https://reviews.apache.org/r/4437/diff Testing ------- Unit and integration tested. e2e tests to be done. Thanks, Rohini > Support Writing Out to Multiple Tables in HCatOutputFormat > ---------------------------------------------------------- > > Key: HCATALOG-36 > URL: https://issues.apache.org/jira/browse/HCATALOG-36 > Project: HCatalog > Issue Type: Improvement > Affects Versions: 0.2 > Reporter: Ranjit Mathew > Assignee: Rohini Palaniswamy > Attachments: multihcat.tgz > > > HCatOutputFormat does not support writing out to multiple tables (or > partitions for that matter). > Add this support to HCatalog. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
