[ https://issues.apache.org/jira/browse/HIVE-10809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14559982#comment-14559982 ]
Swarnim Kulkarni commented on HIVE-10809: ----------------------------------------- [~selinazh] Minor feedback: 1. Instead of throwing so many exceptions in the throws, could simply add in a throws Exception to make the test simpler. 2. To make the test stronger, any way we can test that the directories actually existed before the query ran? > HCat FileOutputCommitterContainer leaves behind empty _SCRATCH directories > -------------------------------------------------------------------------- > > Key: HIVE-10809 > URL: https://issues.apache.org/jira/browse/HIVE-10809 > Project: Hive > Issue Type: Bug > Components: HCatalog > Affects Versions: 1.2.0 > Reporter: Selina Zhang > Assignee: Selina Zhang > Attachments: HIVE-10809.1.patch, HIVE-10809.2.patch > > > When static partition is added through HCatStorer or HCatWriter > {code} > JoinedData = LOAD '/user/selinaz/data/part-r-00000' USING JsonLoader(); > STORE JoinedData INTO 'selina.joined_events_e' USING > org.apache.hive.hcatalog.pig.HCatStorer('author=selina'); > {code} > The table directory looks like > {noformat} > drwx------ - selinaz users 0 2015-05-22 21:19 > /user/selinaz/joined_events_e/_SCRATCH0.9157208938193798 > drwx------ - selinaz users 0 2015-05-22 21:19 > /user/selinaz/joined_events_e/author=selina > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)