[jira] [Commented] (HADOOP-12162) Add ACL APIs to the FileSystem specification

2017-10-13 Thread Steve Loughran (JIRA)

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

Steve Loughran commented on HADOOP-12162:
-

We;ve been discussing using the StreamCapabilities.hasCapabilities() API to 
filesystems so they can declare their semantics 
[S3A|https://github.com/steveloughran/hadoop/blob/s3guard/HADOOP-13786-committer/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AFileSystem.java#L3133]

To do this broadly 
* we need to finish up the output stream work (HADOOP-14872 , HADOOP-13327)
* we need to add the interface to FileSystem and FileContext, with the base 
implementation returning true/false for the default behaviours of the FS
* And for every FS the ASF ships, override/extend that with their differences
* Then give the other filesystem connector suppliers (redhat, mapr, cassandra, 
...) some warning of the change

In the meantime, yes, please, get started with the spec of ACLs. 

> Add ACL APIs to the FileSystem specification
> 
>
> Key: HADOOP-12162
> URL: https://issues.apache.org/jira/browse/HADOOP-12162
> Project: Hadoop Common
>  Issue Type: Sub-task
>  Components: documentation
>Reporter: Arpit Agarwal
>  Labels: newbie
>
> The following ACL APIs should be added to the [FileSystem 
> specification|https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/filesystem/filesystem.html]
> # modifyAclEntries
> # removeAclEntries
> # removeDefaultAcl
> # removeAcl
> # setAcl
> # getAclStatus 



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

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-12162) Add ACL APIs to the FileSystem specification

2017-10-12 Thread Gabor Bota (JIRA)

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

Gabor Bota commented on HADOOP-12162:
-

It seems like in org.apache.hadoop.fs.FileSystem all the methods throw 
UnsupportedOperationException those operations. 
FileSystem implementation does not support these, this should be a reason that 
this is omitted from the documentation.

> Add ACL APIs to the FileSystem specification
> 
>
> Key: HADOOP-12162
> URL: https://issues.apache.org/jira/browse/HADOOP-12162
> Project: Hadoop Common
>  Issue Type: Sub-task
>  Components: documentation
>Reporter: Arpit Agarwal
>  Labels: newbie
>
> The following ACL APIs should be added to the [FileSystem 
> specification|https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/filesystem/filesystem.html]
> # modifyAclEntries
> # removeAclEntries
> # removeDefaultAcl
> # removeAcl
> # setAcl
> # getAclStatus 



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

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org