[
https://issues.apache.org/jira/browse/HADOOP-18109?focusedWorklogId=721693&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-721693
]
ASF GitHub Bot logged work on HADOOP-18109:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 06/Feb/22 20:21
Start Date: 06/Feb/22 20:21
Worklog Time Spent: 10m
Work Description: cheyu2022 commented on a change in pull request #3953:
URL: https://github.com/apache/hadoop/pull/3953#discussion_r800228490
##########
File path:
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/fs/viewfs/TestViewFileSystemHdfs.java
##########
@@ -479,4 +485,22 @@ public Object run() throws IOException {
assertEquals("The owner did not match ", owner,
userUgi.getShortUserName());
otherfs.delete(user1Path, false);
}
+
+ @Test
Review comment:
You are right.. Looks like the permissions are inconsistent. With the
change the default perm we use in `mkdirs` is 777 but
`fs.getFileStatus(xxx).getPermission()` returns 751 for both internal and real
dirs (regardless of whether we revert the change or not). I'm not sure why but
I'll dig into this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 721693)
Time Spent: 50m (was: 40m)
> Ensure that default permissions of directories under internal ViewFS
> directories are the same as directories on target filesystems
> ----------------------------------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-18109
> URL: https://issues.apache.org/jira/browse/HADOOP-18109
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Chentao Yu
> Assignee: Chentao Yu
> Priority: Major
> Labels: pull-request-available
> Time Spent: 50m
> Remaining Estimate: 0h
>
> * Ensure that default permissions of directories under internal ViewFS
> directories are the same as directories on target filesystems
> * Add new unit test
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]