You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Sushanth Sowmyan (JIRA)" <ji...@apache.org> on 2013/10/09 02:31:42 UTC

[jira] [Updated] (HIVE-5496) hcat -e "drop database if exists" fails on authorizing non-existent null db

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

Sushanth Sowmyan updated HIVE-5496:
-----------------------------------

    Attachment: HIVE-5496.patch

Attaching patch.

> hcat -e "drop database if exists" fails on authorizing non-existent null db
> ---------------------------------------------------------------------------
>
>                 Key: HIVE-5496
>                 URL: https://issues.apache.org/jira/browse/HIVE-5496
>             Project: Hive
>          Issue Type: Bug
>          Components: Authorization, HCatalog
>            Reporter: Sushanth Sowmyan
>            Assignee: Sushanth Sowmyan
>         Attachments: HIVE-5496.patch
>
>
> When running a "drop database if exists" call on hcat commandline, it fails authorization with a NPE because it tries to authorize access to a null database. This should be changed to not call authorize if the db for the DropDatabaseDesc is null.



--
This message was sent by Atlassian JIRA
(v6.1#6144)