Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-4335

dfs -mkdir /foo reports "/" rather than "/foo" in error output

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.2-alpha, 3.0.0-alpha1
    • None
    • hdfs-client
    • None

    Description

      ubuntu@ubu-cdh-0:~$ hdfs dfs -mkdir /foo
      mkdir: Permission denied: user=ubuntu, access=WRITE, inode="/":hdfs:hadoop:drwxr-xr-x
      

      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.

      Attachments

        Activity

          People

            adi2 Andy Isaacson
            adi2 Andy Isaacson
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated: