[
https://issues.apache.org/jira/browse/HIVE-25947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17490073#comment-17490073
]
Stamatis Zampetakis commented on HIVE-25947:
--------------------------------------------
There has been a
[discussion|https://lists.apache.org/thread/9vp4no0sff9slg4tcrd5xyx9z2wfls0r]
in the dev list about which properties we should support for specifying a
custom queue and to keep things backwards compatible but also allow project to
evolve the easiest thing would be to support all properties below for the time
being:
* compactor.mapred.job.queue.name
* compactor.mapreduce.job.queuename
* compactor.hive.compactor.job.queue
> Compactor job queue cannot be set per table via
> compactor.mapred.job.queue.name
> -------------------------------------------------------------------------------
>
> Key: HIVE-25947
> URL: https://issues.apache.org/jira/browse/HIVE-25947
> Project: Hive
> Issue Type: Bug
> Components: HiveServer2
> Reporter: Stamatis Zampetakis
> Assignee: Stamatis Zampetakis
> Priority: Major
>
> Before HIVE-20723 it was possible to schedule the compaction for each table
> on specific job queues by putting {{compactor.mapred.job.queue.name}} in the
> table properties.
> {code:sql}
> CREATE TABLE person (name STRING, age INT) STORED AS ORC TBLPROPERTIES(
> 'transactional'='true',
> 'compactor.mapred.job.queue.name'='root.user2);
> ALTER TABLE person COMPACT 'major' WITH OVERWRITE
> TBLPROPERTIES('compactor.mapred.job.queue.name'='root.user2')
> {code}
> This is no longer possible (after HIVE-20723) and in order to achieve the
> same effect someone needs to use the {{compactor.hive.compactor.job.queue}}.
> {code:sql}
> CREATE TABLE person (name STRING, age INT) STORED AS ORC TBLPROPERTIES(
> 'transactional'='true',
> 'compactor.hive.compactor.job.queue'='root.user2);
> ALTER TABLE person COMPACT 'major' WITH OVERWRITE
> TBLPROPERTIES('compactor.hive.compactor.job.queue'='root.user2')
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)