Return-Path: Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: (qmail 66077 invoked from network); 12 Apr 2010 18:36:12 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Apr 2010 18:36:12 -0000 Received: (qmail 18381 invoked by uid 500); 12 Apr 2010 18:36:12 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 18353 invoked by uid 500); 12 Apr 2010 18:36:12 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 18345 invoked by uid 99); 12 Apr 2010 18:36:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Apr 2010 18:36:12 +0000 X-ASF-Spam-Status: No, hits=-1269.7 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Apr 2010 18:36:11 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3CIZoH3029810 for ; Mon, 12 Apr 2010 14:35:50 -0400 (EDT) Message-ID: <1795078.3241271097350791.JavaMail.jira@thor> Date: Mon, 12 Apr 2010 14:35:50 -0400 (EDT) From: "Ravi Phulari (JIRA)" To: common-issues@hadoop.apache.org Subject: [jira] Updated: (HADOOP-6701) Incorrect exit codes for "dfs -chown", "dfs -chgrp" In-Reply-To: <29784448.2801271097111992.JavaMail.jira@thor> 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/HADOOP-6701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ravi Phulari updated HADOOP-6701: --------------------------------- Status: Patch Available (was: Open) > Incorrect exit codes for "dfs -chown", "dfs -chgrp" > ---------------------------------------------------- > > Key: HADOOP-6701 > URL: https://issues.apache.org/jira/browse/HADOOP-6701 > Project: Hadoop Common > Issue Type: Bug > Components: fs > Affects Versions: 0.20.2, 0.20.1, 0.20.0, 0.19.1 > Reporter: Ravi Phulari > Assignee: Ravi Phulari > Priority: Minor > Fix For: 0.20.3, 0.21.0, 0.22.0 > > Attachments: HADOOP-6701.patch > > > ravi@localhost:~$ hadoop dfs -chgrp abcd /; echo $? > chgrp: changing ownership of > 'hdfs://localhost/':org.apache.hadoop.security.AccessControlException: Permission denied > 0 > ravi@localhost:~$ hadoop dfs -chown abcd /; echo $? > chown: changing ownership of > 'hdfs://localhost/':org.apache.hadoop.security.AccessControlException: Permission denied > 0 > ravi@localhost:~$ hadoop dfs -chmod 755 /DOESNTEXIST; echo $? > chmod: could not get status for '/DOESNTEXIST': File does not exist: /DOESNTEXIST > 0 > - > Exit codes for both of the above invocations should be non-zero to indicate that the command failed. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira