hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gopal Vijayaraghavan (Jira)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-22948) QueryCache: Treat query cache locations as temporary storage
Date Mon, 30 Mar 2020 06:34:00 GMT

     [ https://issues.apache.org/jira/browse/HIVE-22948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gopal Vijayaraghavan updated HIVE-22948:
----------------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

> QueryCache: Treat query cache locations as temporary storage
> ------------------------------------------------------------
>
>                 Key: HIVE-22948
>                 URL: https://issues.apache.org/jira/browse/HIVE-22948
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Planning
>    Affects Versions: 4.0.0, 3.1.2
>            Reporter: Gopal Vijayaraghavan
>            Assignee: Gopal Vijayaraghavan
>            Priority: Major
>             Fix For: 4.0.0
>
>         Attachments: HIVE-22948.1.patch, HIVE-22948.1.patch, HIVE-22948.2.patch
>
>
> The WriteEntity with a query cache query is considered for user authorization without
having direct access for users.
> https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/security/authorization/command/CommandAuthorizerV2.java#L111
> {code}
>       if (privObject instanceof WriteEntity && ((WriteEntity)privObject).isTempURI())
{
>         // do not authorize temporary uris
>         continue;
>       }
> {code}
> is not satisfied by the queries qualifying for the query cache.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message