From dev-return-16903-archive-asf-public=cust-asf.ponee.io@ranger.apache.org Mon Mar 5 09:17:08 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 0C9B8180677 for ; Mon, 5 Mar 2018 09:17:07 +0100 (CET) Received: (qmail 28544 invoked by uid 500); 5 Mar 2018 08:17:07 -0000 Mailing-List: contact dev-help@ranger.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ranger.apache.org Delivered-To: mailing list dev@ranger.apache.org Received: (qmail 28533 invoked by uid 99); 5 Mar 2018 08:17:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2018 08:17:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 7BBC01804BC for ; Mon, 5 Mar 2018 08:17:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.511 X-Spam-Level: X-Spam-Status: No, score=-109.511 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id FroK0WkVvU78 for ; Mon, 5 Mar 2018 08:17:04 +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 2BB4E5F5E0 for ; Mon, 5 Mar 2018 08:17:04 +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 35F99E03F5 for ; Mon, 5 Mar 2018 08:17:02 +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 D674521282 for ; Mon, 5 Mar 2018 08:17:00 +0000 (UTC) Date: Mon, 5 Mar 2018 08:17:00 +0000 (UTC) From: "Qiang Zhang (JIRA)" To: dev@ranger.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (RANGER-1672) Ranger supports plugin to enable, monitor and manage apache kylin 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/RANGER-1672?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Qiang Zhang updated RANGER-1672: -------------------------------- Attachment: (was: KylinServiceEntry.jpg) > Ranger supports plugin to enable, monitor and manage apache kylin > ----------------------------------------------------------------- > > Key: RANGER-1672 > URL: https://issues.apache.org/jira/browse/RANGER-1672 > Project: Ranger > Issue Type: New Feature > Components: plugins > Reporter: Qiang Zhang > Assignee: Qiang Zhang > Priority: Major > Labels: newbie, patch > Attachments: NewKylinService.jpg > > > Apache Kylin is an open source Distributed Analytics Engine designed to p= rovide SQL interface and multi-dimensional analysis (OLAP) on Hadoop suppor= ting extremely large datasets, original contributed from eBay Inc. Apache K= ylin lets user query massive data set at sub-second latency in 3 steps. > 1. Identify a Star Schema on Hadoop. > 2. Build Cube from the identified tables. > 3. Query with ANSI-SQL and get results in sub-second, via ODBC, JDBC or R= ESTful API. > We should support that using Ranger to control kylin's access rights for = project and cube. > 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 plug= in 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/KYLIN-2703 -- This message was sent by Atlassian JIRA (v7.6.3#76005)