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

Yuanbo Liu commented on HDFS-10276:
-----------------------------------

Hi, Kevin
Can you provide more details about this issue? such as the steps of 
reproduction, the version of Hadoop.
I have tested {{LocalFileSystem/DistributedFileSystem#getFileStatus}} and 
{{LocalFileSystem/DistributedFileSystem#exists}} on Hadoop trunk and they both 
worked as expected.

> Different results for exist call for file.ext/name
> --------------------------------------------------
>
>                 Key: HDFS-10276
>                 URL: https://issues.apache.org/jira/browse/HDFS-10276
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Kevin Cox
>
> Given you have a file {{/file}} an existence check for the path 
> {{/file/whatever}} will give different responses for different 
> implementations of FileSystem.
> LocalFileSystem will return false while DistributedFileSystem will throw 
> {{org.apache.hadoop.security.AccessControlException: Permission denied: ..., 
> access=EXECUTE, ...}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to