Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-5496

hcat -e "drop database if exists" fails on authorizing non-existent null db

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.12.0
    • 0.13.0
    • Authorization, HCatalog
    • None

    Description

      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.

      Attachments

        1. HIVE-5496.patch
          1 kB
          Sushanth Sowmyan

        Activity

          People

            sushanth Sushanth Sowmyan
            sushanth Sushanth Sowmyan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: