hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuanbo Liu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-10276) Different results for exist call for file.ext/name
Date Tue, 19 Apr 2016 10:59:25 GMT

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

Yuanbo Liu commented on HDFS-10276:

[~kevincox]Thanks a lot for your comment. I've reproduced this error and it should be marked
as a bug. I found that name node would check the access before checking whether the file existed.
It takes time to fix this bug since I have to find out whether other file systems work as
expected and how to fix it appositely.

> 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
>            Assignee: Yuanbo Liu
> 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

View raw message