hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-5496) hcat -e "drop database if exists" fails on authorizing non-existent null db
Date Sun, 13 Oct 2013 16:26:43 GMT

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

Ashutosh Chauhan updated HIVE-5496:
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.13.0
           Status: Resolved  (was: Patch Available)

Committed to trunk. Thanks, Sushanth!

> 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
>    Affects Versions: 0.12.0
>            Reporter: Sushanth Sowmyan
>            Assignee: Sushanth Sowmyan
>             Fix For: 0.13.0
>
>         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)

Mime
View raw message