hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ayush Saxena (Jira)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12212) Options.Rename.To_TRASH is considered even when Options.Rename.NONE is specified
Date Thu, 29 Aug 2019 03:16:00 GMT

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

Ayush Saxena commented on HDFS-12212:
-------------------------------------

Thanx [~vinayakumarb] for the report. The fix seems straightforward.
Have triggered the build again. If everything seems steady, will push this ahead.

> Options.Rename.To_TRASH is considered even when Options.Rename.NONE is specified
> --------------------------------------------------------------------------------
>
>                 Key: HDFS-12212
>                 URL: https://issues.apache.org/jira/browse/HDFS-12212
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 2.9.0, 2.7.4, 3.0.0-alpha1, 2.8.2
>            Reporter: Vinayakumar B
>            Assignee: Vinayakumar B
>            Priority: Major
>         Attachments: HDFS-12212-01.patch
>
>
> HDFS-8312 introduced {{Options.Rename.TO_TRASH}} to differentiate the movement to trash
and other renames for permission checks.
> When Options.Rename.NONE is passed also TO_TRASH is considered for rename and wrong permissions
are checked for rename.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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


Mime
View raw message