Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
3.1.1
-
None
-
None
Description
Use user test which belong to group hadoop to run distcp with -pbugpaxt , cp a directory which owner is super, distcp runs failed error log as follows:
2020-02-26 11:17:02,755 INFO [IPC Server handler 5 on 27101] org.apache.hadoop.mapred.TaskAttemptListenerImpl: Diagnostics report from attempt_1582635453769_0003_m_000021_0: Error: org.apache.hadoop.security.AccessControlException: User super is not a super user (non-super user cannot change owner).
at org.apache.hadoop.hdfs.server.namenode.FSDirAttrOp.setOwner(FSDirAttrOp.java:85)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.setOwner(FSNamesystem.java:1927)
at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.setOwner(NameNodeRpcServer.java:870)
at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.setOwner(ClientNamenodeProtocolServerSideTranslatorPB.java:566)
at
.......
Currnet user is test, not super, the log print wrong user info
Attachments
Attachments
Issue Links
- is duplicated by
-
HDFS-13626 Fix incorrect username when deny the setOwner operation
- Resolved