[ 
https://issues.apache.org/jira/browse/ARROW-6756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16943003#comment-16943003
 ] 

bb commented on ARROW-6756:
---------------------------

All the libhdfs docs i found said:
{quote}The libhdfs APIs are a subset of the [Hadoop FileSystem 
APIs|https://hadoop.apache.org/docs/current/api/org/apache/hadoop/fs/FileSystem.html].
{quote}
And goes on to say that:
{quote}The header file for libhdfs describes each API in detail and is 
available in {{$HADOOP_PREFIX/src/c++/libhdfs/hdfs.h}}
{quote}
I grep'd hdfs.h and didnt see any explicit "acl" reference nor could I find it 
in the hadoop github repo but it's possible that the API is referenced under 
another name or I am looking in the wrong places?

> [C++][Python] Include HDFS `getfacl` in `pyarrow.hdfs.HadoopFileSystem`
> -----------------------------------------------------------------------
>
>                 Key: ARROW-6756
>                 URL: https://issues.apache.org/jira/browse/ARROW-6756
>             Project: Apache Arrow
>          Issue Type: Wish
>          Components: Python
>    Affects Versions: 0.13.0
>            Reporter: bb
>            Priority: Major
>              Labels: arrow, hdfs, pyarrow
>
> Extended HDFS filesystem attributes are exposed through the `getfacl` command.
> It would be immensely help to have this information accessible via:
> {code:java}
> pyarrow.hdfs.HadoopFileSystem{code}
>  
> Link to the official Hadoop docs where this is discussed in more detail:
> [https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/FileSystemShell.html#getfacl]
> Sample output from the *nix shell:
> {code:java}
> $ hadoop fs -getfacl /path/to/hdfs/dir
>  # file: /path/to/hdfs/dir
>  # owner: hive
>  # group: hive
>  user::rwx
>  group:unix_group_with_acl_privs_defined:rwx
>  group::---
>  user:hive:rwx
>  group:hive:rwx
>  mask::rwx
>  other::--x{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to