You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Alan Gates (JIRA)" <ji...@apache.org> on 2018/06/04 19:51:00 UTC

[jira] [Updated] (HIVE-19558) HiveAuthorizationProviderBase gets catalog name from config rather than db object

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

Alan Gates updated HIVE-19558:
------------------------------
    Attachment: HIVE-19558.1take9.patch

> HiveAuthorizationProviderBase gets catalog name from config rather than db object
> ---------------------------------------------------------------------------------
>
>                 Key: HIVE-19558
>                 URL: https://issues.apache.org/jira/browse/HIVE-19558
>             Project: Hive
>          Issue Type: Bug
>          Components: Authorization
>    Affects Versions: 3.0.0
>            Reporter: Alan Gates
>            Assignee: Alan Gates
>            Priority: Major
>             Fix For: 3.0.1
>
>         Attachments: HIVE-19558.1take2.patch, HIVE-19558.1take3.patch, HIVE-19558.1take4.patch, HIVE-19558.1take5.patch, HIVE-19558.1take6.patch, HIVE-19558.1take7.patch, HIVE-19558.1take8.patch, HIVE-19558.1take9.patch, HIVE-19558.patch
>
>
> HiveAuthorizationProviderBase.getDatabase uses just the database name to fetch the database, relying on getDefaultCatalog() to fetch the catalog name from the conf file.  This does not work when the client has passed in an object for a different catalog.



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