[
https://issues.apache.org/jira/browse/HIVE-25947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HIVE-25947:
----------------------------------
Labels: pull-request-available (was: )
> 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
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)