Uploaded image for project: 'Apache HAWQ'
  1. Apache HAWQ
  2. HAWQ-1574

libhdfs fails silently when hdfs extended acls are in use

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • backlog
    • libhdfs
    • None

    Description

      # list files in a folder
      hdfs.ls('/user/p-pparente/example')
      
      ['/user/p-pparente/example/1',
       '/user/p-pparente/example/2',
       '/user/p-pparente/example/3']
      
      # using the standard hdfs CLI, set some extended acls
      # hdfs dfs -setfacl -m user:analytics:rwx /user/p-pparente/example/1
      
      # try to list files again, nothing shows!
      hdfs.ls('/user/p-pparente/example')
      []
      
      # remove the extended acl using the hdfs CLI
      # hdfs dfs -setfacl -x user:analytics /user/p-pparente/example/1
      
      # list again, and still nothing there because the extended ACLs have been set at least once
      hdfs.ls('/user/p-pparente/example')
      []
      
      # Remove the file from the directory entirely
      # hdfs dfs -rm /user/p-pparente/example/1
      
      # list again, and now everything is fine once more
      hdfs.ls('/user/p-pparente/example')
      hdfs.ls('/user/p-pparente/example')
      
      ['/user/p-pparente/example/1', '/user/p-pparente/example/2']
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            rlei Radar Da Lei
            parente Peter Parente

            Dates

              Created:
              Updated:

              Slack

                Issue deployment