hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dai (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-19831) Hiveserver2 should skip doAuth checks for CREATE DATABASE/TABLE if database/table already exists
Date Mon, 01 Jul 2019 18:25:00 GMT

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

Daniel Dai updated HIVE-19831:
------------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 4.0.0
           Status: Resolved  (was: Patch Available)

+1.

Ptest is clean last time, the only diff is comment. So no need to wait for ptest result.

Patch pushed to master. Thanks Rajkumar!

> Hiveserver2 should skip doAuth checks for CREATE DATABASE/TABLE if database/table already
exists
> ------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-19831
>                 URL: https://issues.apache.org/jira/browse/HIVE-19831
>             Project: Hive
>          Issue Type: Improvement
>          Components: HiveServer2
>    Affects Versions: 1.2.1, 2.1.0
>            Reporter: Rajkumar Singh
>            Assignee: Rajkumar Singh
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>         Attachments: HIVE-19831.01.patch, HIVE-19831.patch
>
>
> with sqlstdauth on, Create database if exists take TOO LONG if there are too many
objects inside the database directory. Hive should not run the doAuth checks for all the objects
within database if the database already exists.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message