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.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0
    • Component/s: namenode
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: