Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-9929

Insufficient permissions for a path reported as file not found

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.3.0
    • Component/s: fs
    • Labels:
      None

      Description

      Using "hadoop fs -ls" to list a path where the permissions of a parent directory are insufficient ends up reporting "no such file or directory" on the full path rather than reporting the permission issue. For example:

      $ hadoop fs -ls /user/abc/tests/data
      ls: `/user/abc/tests/data': No such file or directory
      $ hadoop fs -ls /user/abc
      ls: Permission denied: user=somebody, access=READ_EXECUTE, inode="/user/abc":abc:hdfs:drwx------
      

        Attachments

        1. HADOOP-9929.001.patch
          10 kB
          Colin McCabe
        2. HADOOP-9929.002.patch
          10 kB
          Colin McCabe

          Activity

            People

            • Assignee:
              cmccabe Colin McCabe
              Reporter:
              jlowe Jason Darrell Lowe
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: