[
https://issues.apache.org/jira/browse/HIVE-19831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16510293#comment-16510293
]
ASF GitHub Bot commented on HIVE-19831:
---------------------------------------
GitHub user rajkrrsingh opened a pull request:
https://github.com/apache/hive/pull/372
HIVE-19831: Hiveserver2 should skip doAuth checks for CREATE DATABASE…
Hiveserver2 should skip doAuth checks for CREATE DATABASE/TABLE if
database/table already exists.
the proposed change will skip the authorization check if the database is
already exists.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rajkrrsingh/hive HIVE-19831
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/hive/pull/372.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #372
----
commit f62c4bbaf9d3bdfd762492fc3fc49772ce8b625a
Author: Rajkumar singh <rajkrrsingh@...>
Date: 2018-06-12T22:02:41Z
HIVE-19831: Hiveserver2 should skip doAuth checks for CREATE DATABASE/TABLE
if database/table already exists
----
> 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
> Priority: Minor
> Labels: pull-request-available
>
> 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)