[
https://issues.apache.org/jira/browse/HIVE-14614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15437132#comment-15437132
]
Sergio Peña commented on HIVE-14614:
------------------------------------
Patch looks good. Mohit's idea looks good to for better readability.
We still need to check for (path != null), but the next line could be the above
one.
> Insert overwrite local directory fails with IllegalStateException
> -----------------------------------------------------------------
>
> Key: HIVE-14614
> URL: https://issues.apache.org/jira/browse/HIVE-14614
> Project: Hive
> Issue Type: Bug
> Reporter: Vihang Karajgaonkar
> Assignee: Vihang Karajgaonkar
> Priority: Minor
> Attachments: HIVE-14614.2.patch
>
>
> insert overwrite local directory .... select * from table; fails with
> "java.lang.IllegalStateException: Cannot create staging directory" when the
> path sent to the getTempDirForPath(Path path) is a local fs path.
> This is a regression caused by the fix for HIVE-14270
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)