[
https://issues.apache.org/jira/browse/HIVE-5402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13786571#comment-13786571
]
Ashutosh Chauhan commented on HIVE-5402:
----------------------------------------
* Rename isRunFromMetaStore to serverMode
* Do Hive.get(getConf()) instead of Hive.get(new HiveConf()) because its
expensive object to initialize and we don't multiple copies of configuration to
be active in a process.
* Thanks for tests!
> StorageBasedAuthorizationProvider is not correctly able to determine that it
> is running from client-side
> --------------------------------------------------------------------------------------------------------
>
> Key: HIVE-5402
> URL: https://issues.apache.org/jira/browse/HIVE-5402
> Project: Hive
> Issue Type: Bug
> Components: Authorization
> Reporter: Sushanth Sowmyan
> Assignee: Sushanth Sowmyan
> Attachments: HIVE-5402.2.patch, HIVE-5402.patch
>
>
> HIVE-5048 tried to change the StorageBasedAuthorizationProvider (SBAP) so
> that it could be run from the client side as well.
> However, there is a bug that causes SBAP to incorrectly conclude that it's
> running from the metastore-side when it's actually running from the
> client-side that causes it to throw a IllegalStateException claiming the
> warehouse variable isn't set.
--
This message was sent by Atlassian JIRA
(v6.1#6144)