Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 232BB11F6F for ; Sun, 25 May 2014 18:43:02 +0000 (UTC) Received: (qmail 70210 invoked by uid 500); 25 May 2014 18:43:01 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 70132 invoked by uid 500); 25 May 2014 18:43:01 -0000 Mailing-List: contact dev-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 dev@hive.apache.org Received: (qmail 70123 invoked by uid 500); 25 May 2014 18:43:01 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 70120 invoked by uid 99); 25 May 2014 18:43:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 May 2014 18:43:01 +0000 Date: Sun, 25 May 2014 18:43:01 +0000 (UTC) From: "Hive QA (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-5961) Add explain authorize for checking privileges 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-5961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14008401#comment-14008401 ] Hive QA commented on HIVE-5961: ------------------------------- {color:red}Overall{color}: -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12646664/HIVE-5961.6.patch.txt {color:red}ERROR:{color} -1 due to 6 failed/errored test(s), 5463 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_parquet_decimal1 org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_root_dir_external_table org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_authorization_ctas org.apache.hive.hcatalog.pig.TestOrcHCatPigStorer.testWriteDecimal org.apache.hive.hcatalog.pig.TestOrcHCatPigStorer.testWriteDecimalX org.apache.hive.hcatalog.pig.TestOrcHCatPigStorer.testWriteDecimalXY {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/292/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/292/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-Build-292/ Messages: {noformat} Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 6 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12646664 > Add explain authorize for checking privileges > --------------------------------------------- > > Key: HIVE-5961 > URL: https://issues.apache.org/jira/browse/HIVE-5961 > Project: Hive > Issue Type: Improvement > Components: Authorization > Reporter: Navis > Assignee: Navis > Priority: Trivial > Attachments: HIVE-5961.1.patch.txt, HIVE-5961.2.patch.txt, HIVE-5961.3.patch.txt, HIVE-5961.4.patch.txt, HIVE-5961.5.patch.txt, HIVE-5961.6.patch.txt > > > For easy checking of need privileges for a query, > {noformat} > explain authorize select * from src join srcpart > INPUTS: > default@srcpart > default@srcpart@ds=2008-04-08/hr=11 > default@srcpart@ds=2008-04-08/hr=12 > default@srcpart@ds=2008-04-09/hr=11 > default@srcpart@ds=2008-04-09/hr=12 > default@src > OUTPUTS: > file:/home/navis/apache/oss-hive/itests/qtest/target/tmp/localscratchdir/hive_2013-12-04_21-57-53_748_5323811717799107868-1/-mr-10000 > CURRENT_USER: > hive_test_user > OPERATION: > QUERY > AUTHORIZATION_FAILURES: > No privilege 'Select' found for inputs { database:default, table:srcpart, columnName:key} > No privilege 'Select' found for inputs { database:default, table:src, columnName:key} > No privilege 'Select' found for inputs { database:default, table:src, columnName:key} > {noformat} > Hopefully good for debugging of authorization, which is in progress on HIVE-5837. -- This message was sent by Atlassian JIRA (v6.2#6252)