[
https://issues.apache.org/jira/browse/HIVE-13463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Shelukhin updated HIVE-13463:
------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.1
2.1.0
Status: Resolved (was: Patch Available)
Committed to master and branch-2.0. Thanks for 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
> Fix For: 2.1.0, 2.0.1
>
> Attachments: HIVE-13463-1.patch, HIVE-13463-2.patch,
> HIVE-13463-3.patch, HIVE-13463-4.patch, HIVE-13463.4.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)