[ 
https://issues.apache.org/jira/browse/HDFS-4741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arpit Agarwal updated HDFS-4741:
--------------------------------

    Attachment: HADOOP-4741.patch

The directory "execute" permission as emulated on Windows works differently as 
compare to Unix. 

The testcase verifies that changing permissions on the edits dir is detected 
correctly by the name node after a checkpoint (both revocation and grant). It 
revokes rwx permissions on a directory name2 and expects that the namenode will 
not be able to write to name2\current\. This is not so on Windows.

The simplest fix is to just manipulate permissions on name2\current when 
running on Windows.
                
> TestStorageRestore#testStorageRestoreFailure fails on Windows
> -------------------------------------------------------------
>
>                 Key: HDFS-4741
>                 URL: https://issues.apache.org/jira/browse/HDFS-4741
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 3.0.0
>            Reporter: Arpit Agarwal
>            Assignee: Arpit Agarwal
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-4741.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to