hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-7583) Use FileSystem.access() if available to check file access for user
Date Mon, 04 Aug 2014 19:20:16 GMT

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

Thejas M Nair commented on HIVE-7583:
-------------------------------------

+1

> Use FileSystem.access() if available to check file access for user
> ------------------------------------------------------------------
>
>                 Key: HIVE-7583
>                 URL: https://issues.apache.org/jira/browse/HIVE-7583
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Jason Dere
>            Assignee: Jason Dere
>         Attachments: HIVE-7583.1.patch, HIVE-7583.2.patch
>
>
> Hive currently implements its own file access checks to determine if a user is allowed
to perform an specified action on a file path (in StorageBasedAuthorizationProvider, also
FileUtils). This can be prone to errors or inconsistencies with how file access is actually
checked in Hadoop.
> HDFS-6570 adds a new FileSystem.access() API, so that we can perform the check using
the actual HDFS logic rather than having to imitate that behavior in Hive. For versions of
Hadoop that have this API available, we should use this API.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message