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

Add a test to verify Audit log entries for setfacl/getfacl commands over FS shell

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 2.9.0, 3.0.0-alpha4
    • hdfs, test
    • None
    • Reviewed

    Description

      The general phenomena has been to Audit log all successful commands and the ones resulting in AccessControlException. For ACLs, we do have a unit test covering the AccessControlException/Failure cases. Would be better if we can have a unit test covering the successful ACL APIs and ACL commands over FS shell as well.

      Additionally, FS Shell getfacl command has a performance improvement (HADOOP-12776) where by the shell would skip the call to getAclStatus if the permission bits in getFileInfo() doesn't have ACL bit set. Good to have Audit log test covering this case.

      Attachments

        1. HDFS-11364.01.patch
          5 kB
          Manoj Govindassamy

        Issue Links

          Activity

            People

              manojg Manoj Govindassamy
              manojg Manoj Govindassamy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: