Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E254811814 for ; Fri, 15 Aug 2014 00:05:19 +0000 (UTC) Received: (qmail 52598 invoked by uid 500); 15 Aug 2014 00:05:19 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 52545 invoked by uid 500); 15 Aug 2014 00:05:19 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 52530 invoked by uid 99); 15 Aug 2014 00:05:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Aug 2014 00:05:19 +0000 Date: Fri, 15 Aug 2014 00:05:19 +0000 (UTC) From: "Alejandro Abdelnur (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-6826) Plugin interface to enable delegation of HDFS authorization assertions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-6826?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Alejandro Abdelnur updated HDFS-6826: ------------------------------------- Attachment: HDFS-6826-idea2.patch attach is new POC where the FsPermissionChecker has been made an interface,= the original one renamed to DefaultFsPermissionChecker and the plugin crea= tes a permission checker instance. (the patch is bigger because of the rena= me, when committing an svn move would be done to preserve history of the pe= rmission checker) then the plugin can do both, replace authz info and replace the permission = check logic. I've also remove the refresh() call from the plugin. this means that the pl= ugin does not provide for means to make external call during a filesystem = operation. A proper plugin impl should fetch all authz info async from fs o= perations. > Plugin interface to enable delegation of HDFS authorization assertions > ---------------------------------------------------------------------- > > Key: HDFS-6826 > URL: https://issues.apache.org/jira/browse/HDFS-6826 > Project: Hadoop HDFS > Issue Type: New Feature > Components: security > Affects Versions: 2.4.1 > Reporter: Alejandro Abdelnur > Assignee: Alejandro Abdelnur > Attachments: HDFS-6826-idea.patch, HDFS-6826-idea2.patch, HDFSPlu= ggableAuthorizationProposal.pdf > > > When Hbase data, HiveMetaStore data or Search data is accessed via servic= es (Hbase region servers, HiveServer2, Impala, Solr) the services can enfor= ce permissions on corresponding entities (databases, tables, views, columns= , search collections, documents). It is desirable, when the data is accesse= d directly by users accessing the underlying data files (i.e. from a MapRed= uce job), that the permission of the data files map to the permissions of t= he corresponding data entity (i.e. table, column family or search collectio= n). > To enable this we need to have the necessary hooks in place in the NameNo= de to delegate authorization to an external system that can map HDFS files/= directories to data entities and resolve their permissions based on the dat= a entities permissions. > I=E2=80=99ll be posting a design proposal in the next few days. -- This message was sent by Atlassian JIRA (v6.2#6252)