hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-11498) HIVE Authorization v2 should not check permission for dummy entity
Date Sat, 08 Aug 2015 16:59:45 GMT

    [ https://issues.apache.org/jira/browse/HIVE-11498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14663067#comment-14663067
] 

Hive QA commented on HIVE-11498:
--------------------------------



{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/12749206/HIVE-11498.003.patch

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 9344 tests executed
*Failed tests:*
{noformat}
org.apache.hive.hcatalog.streaming.TestStreaming.testTransactionBatchEmptyCommit
{noformat}

Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/4874/testReport
Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/4874/console
Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-4874/

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: 1 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12749206 - PreCommit-HIVE-TRUNK-Build

> HIVE Authorization v2 should not check permission for dummy entity
> ------------------------------------------------------------------
>
>                 Key: HIVE-11498
>                 URL: https://issues.apache.org/jira/browse/HIVE-11498
>             Project: Hive
>          Issue Type: Bug
>          Components: Authorization
>    Affects Versions: 1.2.0, 1.3.0, 2.0.0
>            Reporter: Dapeng Sun
>            Assignee: Dapeng Sun
>             Fix For: 1.3.0, 2.0.0
>
>         Attachments: HIVE-11498.001.patch, HIVE-11498.002.patch, HIVE-11498.003.patch
>
>
> The queries like {{SELECT 1+1;}}, The target table and database will set to {{_dummy_database}}
{{_dummy_table}}, authorization should skip these kinds of databases or tables.
> For authz v1. it has skip them.
> eg1. [Source code at github|https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/Driver.java#L600]
> {noformat}
> for (WriteEntity write : outputs) {
>         if (write.isDummy() || write.isPathType()) {
>           continue;
>         }
> {noformat}
> eg2. [Source code at github|https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/Driver.java#L633]
> {noformat}
> for (ReadEntity read : inputs) {
>         if (read.isDummy() || read.isPathType()) {
>           continue;
>         }
>        ...
>         }
> {noformat}
> ...
> This patch will fix authz v2.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message