You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Brahma Reddy Battula (Jira)" <ji...@apache.org> on 2020/02/27 05:11:00 UTC

[jira] [Resolved] (HDFS-15194) ERROR log print wrong user info when run distcp

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

Brahma Reddy Battula resolved HDFS-15194.
-----------------------------------------
    Resolution: Duplicate

[~rain_lyy] thanks for confirmation. Closing as duplicate of HDFS-13626.

> 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
>            Priority: Minor
>         Attachments: distcp.log, image-2020-02-26-14-10-19-654.png
>
>
> 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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org