hive-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/HIVE-17566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16191882#comment-16191882
] 

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: https://issues.apache.org/jira/browse/HIVE-17566
>             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
(v6.4.14#64029)

Mime
View raw message