David created HADOOP-17681:
------------------------------

             Summary: Received "Permission denied" error while copying files 
through NFS Gateway
                 Key: HADOOP-17681
                 URL: https://issues.apache.org/jira/browse/HADOOP-17681
             Project: Hadoop Common
          Issue Type: Improvement
            Reporter: David


In this case, while the file was copying through NFS gateway, the below 
permission error reports.
2021-03-29 05:19:13,389 INFO org.apache.hadoop.security.ShellBasedIdMapping: 
Update cache now
2021-03-29 05:19:13,399 WARN org.apache.hadoop.security.ShellBasedIdMapping: 
Can't find user name for uid 5999. Use default user name nobody
2021-03-29 05:19:13,412 INFO org.apache.hadoop.hdfs.nfs.nfs3.RpcProgramNfs3: 
Error writing to fileId 10131842296 at offset 3254190080 and length 32768
org.apache.hadoop.security.AccessControlException: Permission denied: 
user=nobody, access=EXECUTE, inode="/xxx":test:test:drwxrwx---

There is a map file exist, but never got changed.

Between Update Cache and Clear, some race conditions cause the unavailability 
of the user/group mapping from cache?



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

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

Reply via email to