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

Reduce number of AclException messages in NN log when ACLs are disabled

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5.0
    • None
    • None

    Description

      The FsShell's Ls operation queries ACLs when it lists paths. The AclException is listed as a terse exception in NameNodeRpcServer (HDFS-6069), but still ends up printing a log message.

      As a suggestion, when ACLs are disabled, we could print a single message on startup indicating that ACLs are disabled, not print anything for getAclStatus calls, and print a terse exception for modify ACL commands.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              andrew.wang Andrew Wang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: