[ 
https://issues.apache.org/jira/browse/HDFS-15973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17321861#comment-17321861
 ] 

zhuobin zheng commented on HDFS-15973:
--------------------------------------

Hi, I view this Patch and  there are two confusions : 
 # Why not use method FileSystem.access() to check permission?
 # checkRenameSrcPermission and  checkRenameDstPermission is almost same. Can 
extract the common sub-methods? 

> RBF: Add permission check before doting router federation rename.
> -----------------------------------------------------------------
>
>                 Key: HDFS-15973
>                 URL: https://issues.apache.org/jira/browse/HDFS-15973
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Jinglun
>            Assignee: Jinglun
>            Priority: Major
>         Attachments: HDFS-15973.001.patch
>
>
> The router federation rename is lack of permission check. It is a security 
> issue.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to