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

Improve AclException message "Invalid ACL: only directories may have a default ACL."

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.2.0
    • None
    • CDH 5.10.1, Kerberos, KMS, encryption at rest, Sentry, Hive

    Description

      I found this warning message in a HDFS cluster

      2018-03-27 19:15:28,841 INFO org.apache.hadoop.ipc.Server: IPC Server handler 90 on 8020, call org.apache.hadoop.hdfs.protocol.ClientProtocol.setAcl from 10.0.0.1:39508 Call#79376996
      Retry#0: org.apache.hadoop.hdfs.protocol.AclException: Invalid ACL: only directories may have a default ACL.
      2018-03-27 19:15:28,841 WARN org.apache.hadoop.security.UserGroupInformation: PriviledgedActionException as:hive/host1.EXAMPLE.COM@EXAMPLE.COM (auth:KERBE
      ROS) cause:org.apache.hadoop.hdfs.protocol.AclException: Invalid ACL: only directories may have a default ACL.
      

      However it doesn't tell me which file had this invalid ACL.

      This cluster has Sentry enabled, so it is possible this invalid ACL doesn't come from HDFS, but from Sentry.

      File this Jira to improve the message and add file name in it.

      Attachments

        1. HDFS-13357.001.patch
          1 kB
          Gabor Bota

        Issue Links

          Activity

            People

              gabor.bota Gabor Bota
              weichiu Wei-Chiu Chuang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: