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

Print clearer error message when user attempts to delete required mask entry from ACL.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 2.4.0
    • namenode
    • None
    • Reviewed

    Description

      Currently, when a user attempts to delete a required mask entry from an ACL, the shell exits with code 1 and prints the error message "Invalid ACL: mask is required, but it was deleted." This has caused some user confusion in testing, because it makes it sound like the delete actually happened and left the ACL in a bad state. Let's change this to "Invalid ACL: mask is required and cannot be deleted."

      Attachments

        1. HDFS-6028.1.patch
          1 kB
          Chris Nauroth

        Issue Links

          Activity

            People

              cnauroth Chris Nauroth
              cnauroth Chris Nauroth
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: