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 661D618BA6 for ; Thu, 22 Oct 2015 12:19:28 +0000 (UTC) Received: (qmail 77431 invoked by uid 500); 22 Oct 2015 12:19:28 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 77211 invoked by uid 500); 22 Oct 2015 12:19:28 -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 77198 invoked by uid 99); 22 Oct 2015 12:19:28 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Oct 2015 12:19:28 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D298F2C1F6A for ; Thu, 22 Oct 2015 12:19:27 +0000 (UTC) Date: Thu, 22 Oct 2015 12:19:27 +0000 (UTC) From: "WangMeng (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-12232) Create external table failed when enabled StorageBasedAuthorization 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-12232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] WangMeng updated HIVE-12232: ---------------------------- Attachment: HIVE-12232.01.patch > Create external table failed when enabled StorageBasedAuthorization > ------------------------------------------------------------------- > > Key: HIVE-12232 > URL: https://issues.apache.org/jira/browse/HIVE-12232 > Project: Hive > Issue Type: Bug > Affects Versions: 1.2.1 > Reporter: WangMeng > Assignee: WangMeng > Attachments: HIVE-12232.01.patch > > > Please look at the stacktrace, when enabled StorageBasedAuthorization, creating external table will failed with write permission about the default warehouse path "/user/hive/warehouse": > > CREATE EXTERNAL TABLE test(id int) LOCATION '/tmp/wangmeng/test' ; > Error: Error while compiling statement: FAILED: HiveException java.security.AccessControlException: Permission denied: user=wangmeng, access=WRITE, inode="/user/hive/warehouse":hive:hive:drwxr-x--t. -- This message was sent by Atlassian JIRA (v6.3.4#6332)