[
https://issues.apache.org/jira/browse/HIVE-13463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15254402#comment-15254402
]
Zach York commented on HIVE-13463:
----------------------------------
Thanks Sergey! I had attached the -1 and -2 patches before Jenkins was down.
Thanks for reattaching the patch!
> Fix ImportSemanticAnalyzer to allow for different src/dst filesystems
> ---------------------------------------------------------------------
>
> Key: HIVE-13463
> URL: https://issues.apache.org/jira/browse/HIVE-13463
> Project: Hive
> Issue Type: Bug
> Components: Import/Export
> Affects Versions: 2.0.0
> Reporter: Zach York
> Assignee: Zach York
> Attachments: HIVE-13463-1.patch, HIVE-13463-2.patch,
> HIVE-13463-3.patch, HIVE-13463.patch
>
>
> In ImportSemanticAnalyzer, there is an assumption that the src filesystem for
> import and the final location are on the same filesystem. Therefore the check
> for emptiness and getExternalTmpLocation will be looking on the wrong
> filesystem and will cause an error. The output path should be fed into
> getExternalTmpLocation to get a temporary file on the correct filesystem. The
> check for emptiness should use the output filesystem.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)