Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1220CD3E6 for ; Sat, 22 Dec 2012 02:29:13 +0000 (UTC) Received: (qmail 54674 invoked by uid 500); 22 Dec 2012 02:29:13 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 54535 invoked by uid 500); 22 Dec 2012 02:29:13 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 54327 invoked by uid 99); 22 Dec 2012 02:29:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Dec 2012 02:29:12 +0000 Date: Sat, 22 Dec 2012 02:29:12 +0000 (UTC) From: "Andy Isaacson (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HDFS-4335) dfs -mkdir /foo reports "/" rather than "/foo" in error output MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Andy Isaacson created HDFS-4335: ----------------------------------- Summary: dfs -mkdir /foo reports "/" rather than "/foo" in error output Key: HDFS-4335 URL: https://issues.apache.org/jira/browse/HDFS-4335 Project: Hadoop HDFS Issue Type: Bug Components: hdfs-client Affects Versions: 2.0.2-alpha, 3.0.0 Reporter: Andy Isaacson Assignee: Andy Isaacson {code} ubuntu@ubu-cdh-0:~$ hdfs dfs -mkdir /foo mkdir: Permission denied: user=ubuntu, access=WRITE, inode="/":hdfs:hadoop:drwxr-xr-x {code} It would be better if the Permission Denied message included the {{foo}} that often will help debug a failure, for example if a script constructs a path and then fails with a mysterious error message. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira