Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-15194

ERROR log print wrong user info when run distcp

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 3.1.1
    • None
    • hdfs
    • 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

        1. distcp.log
          6 kB
          liuyanyu
        2. image-2020-02-26-14-10-19-654.png
          37 kB
          liuyanyu

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rain_lyy liuyanyu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: