hive-issues mailing list archives

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

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

Sergey Shelukhin commented on HIVE-19831:
-----------------------------------------

Hmm... doesn't this expose the existence of the database by that name to an unauthorized user?

> 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