Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-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 DBA4A18854 for ; Fri, 2 Oct 2015 14:51:26 +0000 (UTC) Received: (qmail 22434 invoked by uid 500); 2 Oct 2015 14:51:26 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 22410 invoked by uid 500); 2 Oct 2015 14:51:26 -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 22398 invoked by uid 99); 2 Oct 2015 14:51:26 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2015 14:51:26 +0000 Date: Fri, 2 Oct 2015 14:51:26 +0000 (UTC) From: "Olaf Flebbe (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-11175) create function using jar does not work with sql std authorization MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-11175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14941217#comment-14941217 ] Olaf Flebbe commented on HIVE-11175: ------------------------------------ Oops, the path names are relative to my infrastructure ;-) It seems to me that I would need to enhance ./beeline/src/java/org/apache/hive/beeline/util/QFileClient.java and introduce a !!{localmavencache}!! replacement ? Or am I missing something? > create function using jar does not work with sql std authorization > ------------------------------------------------------------------ > > Key: HIVE-11175 > URL: https://issues.apache.org/jira/browse/HIVE-11175 > Project: Hive > Issue Type: Bug > Components: Authorization > Affects Versions: 1.2.0 > Reporter: Olaf Flebbe > Assignee: Olaf Flebbe > Fix For: 2.0.0 > > Attachments: HIVE-11175.1.patch > > > {code:sql}create function xxx as 'xxx' using jar 'file://foo.jar' {code} > gives error code for need of accessing a local foo.jar resource with ADMIN privileges. Same for HDFS (DFS_URI) . > problem is that the semantic analysis enforces the ADMIN privilege for write but the jar is clearly input not output. > Patch und Testcase appendend. -- This message was sent by Atlassian JIRA (v6.3.4#6332)