You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/03/11 02:02:00 UTC

[jira] [Work logged] (HIVE-24742) Support router path or view fs path in Hive table location

     [ https://issues.apache.org/jira/browse/HIVE-24742?focusedWorklogId=564240&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-564240 ]

ASF GitHub Bot logged work on HIVE-24742:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 11/Mar/21 02:01
            Start Date: 11/Mar/21 02:01
    Worklog Time Spent: 10m 
      Work Description: dengzhhu653 commented on pull request #1973:
URL: https://github.com/apache/hive/pull/1973#issuecomment-796370173


   The getTargetFileSystem may work, but it does not implemented in FileSystem. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 564240)
    Time Spent: 0.5h  (was: 20m)

> Support router path or view fs path in Hive table location
> ----------------------------------------------------------
>
>                 Key: HIVE-24742
>                 URL: https://issues.apache.org/jira/browse/HIVE-24742
>             Project: Hive
>          Issue Type: Improvement
>          Components: Hive
>    Affects Versions: 3.1.2
>            Reporter: Aihua Xu
>            Assignee: Aihua Xu
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-24742.patch
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> In [FileUtils.java|https://github.com/apache/hive/blob/master/common/src/java/org/apache/hadoop/hive/common/FileUtils.java#L747], equalsFileSystem function checks the base URL to determine if source and destination are on the same cluster and decides copy or move the data. That will not work for viewfs or router base file system since viewfs://ns-default/a and viewfs://ns-default/b may be on different physical clusters.
> FileSystem in HDFS supports resolvePath() function to resolve to the physical path. We can support viewfs and router through such function.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)