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

Sergio Peña updated HIVE-9328:
------------------------------
    Attachment: HIVE-9325.1.patch

> Tests cannot move files due to change on HIVE-9325
> --------------------------------------------------
>
>                 Key: HIVE-9328
>                 URL: https://issues.apache.org/jira/browse/HIVE-9328
>             Project: Hive
>          Issue Type: Sub-task
>    Affects Versions: encryption-branch
>            Reporter: Sergio Peña
>            Assignee: Sergio Peña
>         Attachments: HIVE-9325.1.patch
>
>
> The change on HIVE-9325 that modified the isSubDir() method is checking that 
> the source path is part of the source path? This always returns true and many 
> tests are failing.
> The method should check if source path is part of destination path.
> This is the line that is failing:
> +    String fullF1 = getQualifiedPathWithoutSchemeAndAuthority(srcf, fs);
> +    String fullF2 = getQualifiedPathWithoutSchemeAndAuthority(srcf, fs);
> It should be:
> +    String fullF1 = getQualifiedPathWithoutSchemeAndAuthority(srcf, fs);
> +    String fullF2 = getQualifiedPathWithoutSchemeAndAuthority(destf, fs);



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to