[ 
https://issues.apache.org/jira/browse/HIVE-13463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15257411#comment-15257411
 ] 

Sergey Shelukhin commented on HIVE-13463:
-----------------------------------------

+1

> 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-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)

Reply via email to