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

Reply via email to