You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Vinay Badami (Jira)" <ji...@apache.org> on 2019/09/17 09:27:00 UTC
[jira] [Commented] (HADOOP-16578) ABFS: fileSystemExists() should
not call container level apis
[ https://issues.apache.org/jira/browse/HADOOP-16578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16931229#comment-16931229 ]
Vinay Badami commented on HADOOP-16578:
---------------------------------------
Let us use this to audit what container level api we are calling from abfs driver.
> ABFS: fileSystemExists() should not call container level apis
> -------------------------------------------------------------
>
> Key: HADOOP-16578
> URL: https://issues.apache.org/jira/browse/HADOOP-16578
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs/azure
> Affects Versions: 3.3.0
> Reporter: Da Zhou
> Priority: Major
> Fix For: 3.3.0
>
>
> ABFS driver should not use container level api "Get Container Properties" as there is no concept of container in HDFS, and this caused some RBAC check issue.
> Fix: use getFileStatus() to check if the container exists.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org