hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shelukhin (JIRA)" <>
Subject [jira] [Commented] (HIVE-17566) Create schema required for workload management.
Date Wed, 04 Oct 2017 19:26:00 GMT


Sergey Shelukhin commented on HIVE-17566:

Looked at the logs. Probably caused by the fact that noone accesses WM stuff before the sysdb
query runs so DN auto-create doesn't create it. This is specific to tests...
For now you can add it to directsql force-init code, see {noformat}
      // Force the underlying db to initialize.
      initQueries.add(pm.newQuery(MDatabase.class, "name == ''"));
{noformat} etc.
Technically, given that sysdb also relies on direct queries to Hive DB, it should have its
own "force DN to init the database" section somewhere, but given that autoCreate mode is only
used in tests, I suspect it will never be done :) cc [~hagleitn]

> Create schema required for workload management.
> -----------------------------------------------
>                 Key: HIVE-17566
>                 URL:
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Harish Jaiprakash
>            Assignee: Harish Jaiprakash
>         Attachments: HIVE-17566.01.patch, HIVE-17566.02.patch, HIVE-17566.03.patch, HIVE-17566.04.patch
> Schema + model changes required for workload management.

This message was sent by Atlassian JIRA

View raw message