You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2017/12/19 16:15:03 UTC

[jira] [Created] (HADOOP-15131) ADL TestAdlContractRenameLive.testRenameFileUnderFile failing

Steve Loughran created HADOOP-15131:
---------------------------------------

             Summary: ADL TestAdlContractRenameLive.testRenameFileUnderFile failing
                 Key: HADOOP-15131
                 URL: https://issues.apache.org/jira/browse/HADOOP-15131
             Project: Hadoop Common
          Issue Type: Sub-task
          Components: fs/adl, test
    Affects Versions: 3.1.0
            Reporter: Steve Loughran
            Priority: Minor


{{TestAdlContractRenameLive.testRenameFileUnderFile}} raises an AccessControlException when you try to rename something under a file. 

Failure is a good outcome, though rename() normally likes to fail silently with an error code of "false" in such a situation

Options:

#  catch the specific exception, look for the text "Forbidden. Parent path is not a folder." and downgrade to a fail.
# declare this is a valid outcome, override the test case to expect it.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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