Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5FD0510337 for ; Thu, 27 Feb 2014 19:29:32 +0000 (UTC) Received: (qmail 20707 invoked by uid 500); 27 Feb 2014 19:29:29 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 20523 invoked by uid 500); 27 Feb 2014 19:29:25 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 20380 invoked by uid 99); 27 Feb 2014 19:29:23 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Feb 2014 19:29:23 +0000 Date: Thu, 27 Feb 2014 19:29:23 +0000 (UTC) From: "Chris Nauroth (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-6028) Print clearer error message when user attempts to delete required mask entry from ACL. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-6028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Nauroth updated HDFS-6028: -------------------------------- Attachment: HDFS-6028.1.patch Attaching trivial one-liner patch to change the string literal. Jenkins will complain that there are no new tests. I tested manually in a cluster built from current trunk + this patch. > Print clearer error message when user attempts to delete required mask entry from ACL. > -------------------------------------------------------------------------------------- > > Key: HDFS-6028 > URL: https://issues.apache.org/jira/browse/HDFS-6028 > Project: Hadoop HDFS > Issue Type: Bug > Components: namenode > Reporter: Chris Nauroth > Assignee: Chris Nauroth > Priority: Trivial > Attachments: HDFS-6028.1.patch > > > 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." -- This message was sent by Atlassian JIRA (v6.1.5#6160)