hawq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Parente (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HAWQ-1574) libhdfs fails silently when hdfs extended acls are in use
Date Mon, 18 Dec 2017 21:50:00 GMT
Peter Parente created HAWQ-1574:
-----------------------------------

             Summary: libhdfs fails silently when hdfs extended acls are in use
                 Key: HAWQ-1574
                 URL: https://issues.apache.org/jira/browse/HAWQ-1574
             Project: Apache HAWQ
          Issue Type: Bug
          Components: libhdfs
            Reporter: Peter Parente
            Assignee: Radar Lei


{code}
# 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']
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message