[
https://issues.apache.org/jira/browse/HIVE-10809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14557137#comment-14557137
]
Swarnim Kulkarni commented on HIVE-10809:
-----------------------------------------
[~selinazh] The changes look fine but are there any tests to go with it that
prove that this change actually fixes the issue?
> 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
>
>
> 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)