hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ferdinand Xu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-9349) Remove the schema in the getQualifiedPathWithoutSchemeAndAuthority method
Date Mon, 12 Jan 2015 14:37:34 GMT

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

Ferdinand Xu updated HIVE-9349:
-------------------------------
    Attachment: HIVE-9349-encryption.patch

> Remove the schema in the getQualifiedPathWithoutSchemeAndAuthority method
> -------------------------------------------------------------------------
>
>                 Key: HIVE-9349
>                 URL: https://issues.apache.org/jira/browse/HIVE-9349
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Ferdinand Xu
>            Assignee: Ferdinand Xu
>             Fix For: encryption-branch
>
>         Attachments: HIVE-9349-encryption.patch
>
>
> We should get the absolute path and then get the path without schema.
> Current code is like:
>   Path path = Path.getPathWithoutSchemeAndAuthority(srcf);
>   return path.makeQualified(path.toUri(), currentWorkingDir).toString(); 
> The correct order should be like:
>   Path path = srcf.makeQualified(srcf.toUri(), currentWorkingDir);
>   Path.getPathWithoutSchemeAndAuthority(path).toString();



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

Mime
View raw message