hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zach York (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-13463) Fix ImportSemanticAnalyzer to allow for different src/dst filesystems
Date Fri, 22 Apr 2016 23:54:13 GMT

     [ https://issues.apache.org/jira/browse/HIVE-13463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Zach York updated HIVE-13463:
-----------------------------
    Attachment: HIVE-13463-4.patch

Looks like jenkins failed to pick up the last patch. Reattaching

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

Mime
View raw message