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

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Target Version/s:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: