[ https://issues.apache.org/jira/browse/HIVE-10809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Selina Zhang updated HIVE-10809: -------------------------------- Attachment: HIVE-10809.2.patch The above unit test failures seem not relevant to this patch. Uploaded a new patch. Add verification in TestHCatStorer to verify the scratch directories are removed. > 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)