[
https://issues.apache.org/jira/browse/HADOOP-15723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16619769#comment-16619769
]
Yuan Gao commented on HADOOP-15723:
-----------------------------------
[[email protected]] Regarding the question of "what is meant to happen on
AdlAuthorizer.isAuthorized if the varargs path list is of size 0? ", I have the
check in the interface implementation AdlAuthorizerImpl:
if (fsAction == null || absolutePaths == null || absolutePaths.length == 0)
{
throw new IllegalArgumentException("fsAction or absolutePaths cannot be
null or empty");
}
This code sits in a separate repo.
Regarding to the question of calling Path.makeQualified(), it is to return a
qualified path the filesystem's working directory. It is required to be called
before authorization check.
> ABFS: Ranger Support
> --------------------
>
> Key: HADOOP-15723
> URL: https://issues.apache.org/jira/browse/HADOOP-15723
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs/azure
> Affects Versions: HADOOP-15407
> Reporter: Thomas Marquardt
> Assignee: Da Zhou
> Priority: Major
> Attachments: HADOOP-15273-HADOOP-15407-001.patch,
> HADOOP-15273-HADOOP-15407-002.patch, HADOOP-15273-HADOOP-15407-003.patch
>
>
> Add support for Ranger
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]