You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "wangzhiyuan (JIRA)" <ji...@apache.org> on 2018/03/09 05:51:00 UTC
[jira] [Comment Edited] (HDFS-13233) RBF: getMountPoint doesn't
return the correct mount point of the mount table
[ https://issues.apache.org/jira/browse/HDFS-13233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16392445#comment-16392445 ]
wangzhiyuan edited comment on HDFS-13233 at 3/9/18 5:50 AM:
------------------------------------------------------------
Hi [~linyiqun]
Thanks for you information
was (Author: striver.wang):
Hi [~linyiqun]
OK, will fix it
> RBF: getMountPoint doesn't return the correct mount point of the mount table
> ----------------------------------------------------------------------------
>
> Key: HDFS-13233
> URL: https://issues.apache.org/jira/browse/HDFS-13233
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs
> Affects Versions: 3.2.0
> Reporter: wangzhiyuan
> Assignee: wangzhiyuan
> Priority: Major
> Attachments: HDFS-13233.001.patch, HDFS-13233.002.patch, HDFS-13233.003.patch, HDFS-13233.004.patch, HDFS-13233.005.patch
>
>
> Method MountTableResolver->getMountPoint will traverse mount table and return the first mount point which the input path starts with, but the condition is not sufficient.
> Suppose the mount point table contains: "/user" "/user/test" "/user/test1", if the input path is "/user/test111", the return mount point is "/user/test1", but the correct one should be "/user".
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org