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

          Andrew Wang created issue -
          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.
          Andrew Wang made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Chris Nauroth made changes -
          Link This issue duplicates HDFS-6069 [ HDFS-6069 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          38m 18s 1 Andrew Wang 23/Jul/14 02:05

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development