You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by GitBox <gi...@apache.org> on 2021/02/12 18:09:48 UTC

[GitHub] [hive] aihuaxu opened a new pull request #1973: HIVE-24742: Support router path or viewfs path in Hive table location

aihuaxu opened a new pull request #1973:
URL: https://github.com/apache/hive/pull/1973


   ### What changes were proposed in this pull request?
   Support router path or viewfs path in Hive table location by resolving the path to the physical cluster path and comparing them to determine if source or destination are on the same cluster.
   
   ### Why are the changes needed?
   HDFS router or viewfs is for file system federation and the path is not the physical path. Currently Hive uses the scheme and authority to check if the source and destination are on the same cluster and decides to rename the path or copy the data. That would cause issue for router or viewfs path since the physical paths could be on different clusters. 
   
   ### Does this PR introduce any user-facing change?
   No
   
   ### How was this patch tested?
   New UT


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



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


[GitHub] [hive] dengzhhu653 commented on pull request #1973: HIVE-24742: Support router path or viewfs path in Hive table location

Posted by GitBox <gi...@apache.org>.
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



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


[GitHub] [hive] aihuaxu commented on pull request #1973: HIVE-24742: Support router path or viewfs path in Hive table location

Posted by GitBox <gi...@apache.org>.
aihuaxu commented on pull request #1973:
URL: https://github.com/apache/hive/pull/1973#issuecomment-781553358


   @yongzhi Actually resolvePath() expects the path to exist while e.g., for rename() operation, the target path actually doesn't exist. I will checkout that.


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



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


[GitHub] [hive] github-actions[bot] closed pull request #1973: HIVE-24742: Support router path or viewfs path in Hive table location

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed pull request #1973:
URL: https://github.com/apache/hive/pull/1973


   


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



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


[GitHub] [hive] aihuaxu closed pull request #1973: HIVE-24742: Support router path or viewfs path in Hive table location

Posted by GitBox <gi...@apache.org>.
aihuaxu closed pull request #1973:
URL: https://github.com/apache/hive/pull/1973


   


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



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


[GitHub] [hive] github-actions[bot] commented on pull request #1973: HIVE-24742: Support router path or viewfs path in Hive table location

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on pull request #1973:
URL: https://github.com/apache/hive/pull/1973#issuecomment-855489281


   This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
   Feel free to reach out on the dev@hive.apache.org list if the patch is in need of reviews.


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



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org