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

Steve Loughran commented on HADOOP-9554:
----------------------------------------

I certainly don't want any changes in the {{FileSystem}} interface in 1.x, and 
doubt anyone else will, even the new method {{FileSystem.listFiles()}} has been 
troublesome enough to both implement and test, and is not fully functional on 
all filesystems.

# The addition of new abstract methods to {{FileSystem}} will be an 
incompatible change in the 1.x line, break all third party filesystem 
implementations and generally cause grief.

I'm -1 to this on 1.x for compatibility, and provisionally -0 on this on HDFS 
v2. If people really do want this, then in accordance with HADOOP-9361, you 
will have to "Strictly define the expected behavior of filesystem APIs and 
write tests to verify compliance". 
                
> Introduce a api to check if authorization is supported by the FS
> ----------------------------------------------------------------
>
>                 Key: HADOOP-9554
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9554
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: samar
>
> Need a new api on the FileSystem like isAuthorizationSupoorted()  which would 
> help us to identify if we need to check for authorization. Hence, if  
> isAuthorizationSupoorted() == true and then only would proceed with the 
> ownership check. This is required because some FS like S3 does not support 
> Authorization and returns owners as "" . Having this check will help us skip 
> the owner check

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to