[ https://issues.apache.org/jira/browse/HIVE-5496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13793804#comment-13793804 ]
Hudson commented on HIVE-5496: ------------------------------ FAILURE: Integrated in Hive-trunk-hadoop2-ptest #138 (See [https://builds.apache.org/job/Hive-trunk-hadoop2-ptest/138/]) HIVE-5496 : hcat -e drop database if exists fails on authorizing non-existent null db (Sushanth Sowmyan via Ashutosh Chauhan) (hashutosh: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1531706) * /hive/trunk/hcatalog/core/src/main/java/org/apache/hive/hcatalog/cli/SemanticAnalysis/HCatSemanticAnalyzer.java > 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)