From issues-return-199247-archive-asf-public=cust-asf.ponee.io@hive.apache.org Sat Sep 19 10:19:02 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mailroute1-lw-us.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id 4990418066B for ; Sat, 19 Sep 2020 12:19:02 +0200 (CEST) Received: from mail.apache.org (localhost [127.0.0.1]) by mailroute1-lw-us.apache.org (ASF Mail Server at mailroute1-lw-us.apache.org) with SMTP id 7CBAB124424 for ; Sat, 19 Sep 2020 10:19:01 +0000 (UTC) Received: (qmail 3449 invoked by uid 500); 19 Sep 2020 10:19:01 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 3440 invoked by uid 99); 19 Sep 2020 10:19:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Sep 2020 10:19:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 8617B4165B for ; Sat, 19 Sep 2020 10:19:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 04961780184 for ; Sat, 19 Sep 2020 10:19:00 +0000 (UTC) Date: Sat, 19 Sep 2020 10:19:00 +0000 (UTC) From: "Kishen Das (Jira)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-24182) Ranger authorization issue with permanent UDFs 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/HIVE-24182?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1719= 8698#comment-17198698 ]=20 Kishen Das commented on HIVE-24182: ----------------------------------- Pull request ->=C2=A0[https://github.com/apache/hive/pull/1510]=C2=A0 > Ranger authorization issue with permanent UDFs > ---------------------------------------------- > > Key: HIVE-24182 > URL: https://issues.apache.org/jira/browse/HIVE-24182 > Project: Hive > Issue Type: Bug > Components: HiveServer2 > Reporter: Kishen Das > Assignee: Kishen Das > Priority: Major > > We are creating the permanent function names as WINDOW_FUNC_PREFIX + DB.P= ERMANENT_FUNCTION_NAME which was introduced by=C2=A0 > https://issues.apache.org/jira/browse/HIVE-12719=C2=A0. > When we populate read entities for permanent functions, we add ReadEntity= which has DB in the format WINDOW_FUNC_PREFIX + DB. Since Ranger policies = are only configured for a given database whose name is just DB and not=C2= =A0WINDOW_FUNC_PREFIX + DB, we should modify the DB name to remove the pref= ix WINDOW_FUNC_PREFIX, when we are creating the read entity.=C2=A0 -- This message was sent by Atlassian Jira (v8.3.4#803005)