Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-6734

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

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major 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.

        Issue Links

          Activity

          Hide
          Andrew Wang added a comment -

          Looks like this was already fixed when we introduced the ACL bit, sorry for the JIRA spam.

          Show
          Andrew Wang added a comment - Looks like this was already fixed when we introduced the ACL bit, sorry for the JIRA spam.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development