[
https://issues.apache.org/jira/browse/HIVE-24742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17283895#comment-17283895
]
Aihua Xu commented on HIVE-24742:
---------------------------------
Thanks [~ychena] Just created the pull request.
> 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: 10m
> 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)