[
https://issues.apache.org/jira/browse/HIVE-5959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13885842#comment-13885842
]
Brock Noland commented on HIVE-5959:
------------------------------------
This is a bad idea:
{noformat}
assert (e instanceof RuntimeException);
{noformat}
all we will know is that an assertion failed but no idea what exception caused
it. If we want this to be true we should only patch runtimeexception.
> SQL std auth - bootstrap SUPERUSER, PUBLIC roles
> ------------------------------------------------
>
> Key: HIVE-5959
> URL: https://issues.apache.org/jira/browse/HIVE-5959
> Project: Hive
> Issue Type: Sub-task
> Components: Authorization
> Reporter: Thejas M Nair
> Assignee: Ashutosh Chauhan
> Attachments: HIVE-5959.2.patch, HIVE-5959.3.patch, HIVE-5959.5.patch,
> HIVE-5959.6.patch, HIVE-5959.patch
>
> Original Estimate: 72h
> Remaining Estimate: 72h
>
> SUPERUSER and PUBLIC are two roles that are always present, these need to be
> added automatically on metastore startup. This would be similar to creation
> of the "default" database from HMSHandler.init().
> A config param in hive-site.xml will be used to specify the list of users who
> belong to the SUPERUSER role.
>
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)