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

create database does not honour warehouse.dir in dbproperties

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 0.7.0, 0.8.0
    • 0.8.0
    • Clients
    • None

    Description

      1. create database db with dbproperties ('hive.metastore.warehouse.dir' = 'loc');

      The above command does not set location of 'db' to 'loc'. It instead creates 'db.db' under the warehouse directory configured in hive-site.xml of CLI. Looks conflicting with HIVE-1820's expectation. If scratch dir is specified here, that is honoured.

      Attachments

        1. DatabaseLocation.patch
          1 kB
          Thiruvel Thirumoolan

        Activity

          People

            thiruvel Thiruvel Thirumoolan
            thiruvel Thiruvel Thirumoolan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: