liuyanyu created HDFS-15194:
-------------------------------
Summary: ERROR log print wrong user info when run distcp
Key: HDFS-15194
URL: https://issues.apache.org/jira/browse/HDFS-15194
Project: Hadoop HDFS
Issue Type: Improvement
Components: hdfs
Affects Versions: 3.1.1
Reporter: liuyanyu
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
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]