From issues-return-16067-archive-asf-public=cust-asf.ponee.io@kylin.apache.org Thu Feb 1 14:07:05 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 12E6318066D for ; Thu, 1 Feb 2018 14:07:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 0175B160C26; Thu, 1 Feb 2018 13:07:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5242B160C44 for ; Thu, 1 Feb 2018 14:07:04 +0100 (CET) Received: (qmail 84732 invoked by uid 500); 1 Feb 2018 13:07:03 -0000 Mailing-List: contact issues-help@kylin.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kylin.apache.org Delivered-To: mailing list issues@kylin.apache.org Received: (qmail 84619 invoked by uid 99); 1 Feb 2018 13:07:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2018 13:07:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 16EB71A65D7 for ; Thu, 1 Feb 2018 13:07:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -102.311 X-Spam-Level: X-Spam-Status: No, score=-102.311 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id beslgaTps5xH for ; Thu, 1 Feb 2018 13:07:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 97D325F4E4 for ; Thu, 1 Feb 2018 13:07:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 0E7C8E002B for ; Thu, 1 Feb 2018 13:07:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id BEBE721E81 for ; Thu, 1 Feb 2018 13:07:00 +0000 (UTC) Date: Thu, 1 Feb 2018 13:07:00 +0000 (UTC) From: "Shaofeng SHI (JIRA)" To: issues@kylin.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Reopened] (KYLIN-2703) Manage ACL through Apache Ranger 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/KYLIN-2703?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Shaofeng SHI reopened KYLIN-2703: --------------------------------- > Manage ACL through Apache Ranger > -------------------------------- > > Key: KYLIN-2703 > URL: https://issues.apache.org/jira/browse/KYLIN-2703 > Project: Kylin > Issue Type: New Feature > Components: Security > Reporter: peng.jianhua > Assignee: peng.jianhua > Priority: Major > Labels: newbie, patch, scope > Fix For: v2.2.0 > > Attachments: 0001-KYLIN-2703-kylin-supports-managing-access-right= s-for.patch, KylinAuditLog.jpg, KylinPlugins.jpg, KylinPolicies.jpg, KylinS= erviceEntry.jpg, NewKylinPolicy.jpg, NewKylinService.jpg, Ranger-PMS-hope.p= ng > > > Ranger is a framework to enable, monitor and manage comprehensive data se= curity across the Hadoop platform. Apache Ranger has the following goals: > 1. Centralized security administration to manage all security related tas= ks in a central UI or using REST APIs. > 2. Fine grained authorization to do a specific action and/or operation wi= th Hadoop component/tool and managed through a central administration tool > 3. Standardize authorization method across all Hadoop components. > 4. Enhanced support for different authorization methods - Role based acce= ss control, attribute based access control etc. > 5. Centralize auditing of user access and administrative actions (securit= y related) within all the components of Hadoop. > Ranger has supported enable, monitor and manage following components: > 1. HDFS > 2. HIVE > 3. HBASE > 4. KNOX > 5. YARN > 6. STORM > 7. SOLR > 8. KAFKA > 9. ATLAS > In order to improve the flexibility of kylin privilege control and enhanc= e value of kylin in the Apache Hadoop ecosystem, like hdfs, yarn, hive, hba= se, Kylin should also support that using Ranger to control access rights fo= r project and cube.=20 > Specific implementation plan is as following: > On the ranger website, administrators can configure policies to control u= ser access to projects and cube permissions. > Kylin provides an abstract class and authorization interfaces for use by = the ranger plugin. kylin instantiates ranger plugin=E2=80=99s implementatio= n class when starting(this class extends the abstract class provided by kyl= in). > Ranger plugin periodically polls ranger admin, updates the policy to the = local, and updates project and cube access rights based on policy informati= on. > In the Kylin side=EF=BC=9A > 1. Kylin provides an abstract class that enables the ranger plugin's impl= ementation class to extend. > 2. Add configuration item. 1) ranger authorization switch, 2) ranger plu= gin implementation class's name. > 3. Instantiate the ranger plugin implementation class when starting kylin= . > 4. kylin provides authorization interfaces for ranger plugin calls. > 5. According to the ranger authorization configuration item, hide kylin's= authorization management page. > 6. Using ranger manager access rights of the kylin does not affect kylin'= s existing permissions functions and logic. > In the Ranger side=EF=BC=9A > 1. Ranger plugin will periodically polls ranger admin, updates the policy= to the local. > 2. The ranger plugin invoking the authorization interfaces provided by ky= lin to updates the project and cube access rights based on the policy infor= mation. > reference link:https://issues.apache.org/jira/browse/RANGER-1672 -- This message was sent by Atlassian JIRA (v7.6.3#76005)