hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <>
Subject [jira] [Commented] (HIVE-11901) StorageBasedAuthorizationProvider requires write permission on table for SELECT statements
Date Sat, 26 Sep 2015 00:49:04 GMT


Hive QA commented on HIVE-11901:

{color:red}Overall{color}: -1 at least one tests failed

Here are the results of testing the latest attachment:

{color:red}ERROR:{color} -1 due to 5 failed/errored test(s), 9591 tests executed
*Failed tests:*
TestCliDriver-skewjoinopt3.q-vector_acid3.q-ctas_date.q-and-12-more - did not produce a TEST-*.xml
TestMiniTezCliDriver-orc_merge6.q-vector_outer_join0.q-mapreduce1.q-and-12-more - did not
produce a TEST-*.xml file

Test results:
Console output:
Test logs:

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: 5 tests failed

This message is automatically generated.

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

> StorageBasedAuthorizationProvider requires write permission on table for SELECT statements
> ------------------------------------------------------------------------------------------
>                 Key: HIVE-11901
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Authorization
>    Affects Versions: 1.2.1
>            Reporter: Chengbing Liu
>            Assignee: Chengbing Liu
>         Attachments: HIVE-11901.01.patch
> With HIVE-7895, it will require write permission on the table directory even for a SELECT
> Looking at the stacktrace, it seems the method {{StorageBasedAuthorizationProvider#authorize(Table
table, Partition part, Privilege[] readRequiredPriv, Privilege[] writeRequiredPriv)}} always
treats a null partition as a CREATE statement, which can also be a SELECT.
> We may have to check {{readRequiredPriv}} and {{writeRequiredPriv}} first   in order
to tell which statement it is.

This message was sent by Atlassian JIRA

View raw message