[ 
https://issues.apache.org/jira/browse/HIVE-25595?focusedWorklogId=661548&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-661548
 ]

ASF GitHub Bot logged work on HIVE-25595:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 07/Oct/21 11:29
            Start Date: 07/Oct/21 11:29
    Worklog Time Spent: 10m 
      Work Description: lcspinter commented on a change in pull request #2702:
URL: https://github.com/apache/hive/pull/2702#discussion_r724091309



##########
File path: 
ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/CompactorUtil.java
##########
@@ -18,14 +18,19 @@
 package org.apache.hadoop.hive.ql.txn.compactor;
 
 import com.google.common.util.concurrent.ThreadFactoryBuilder;
+import org.apache.hadoop.hive.common.StringableMap;
 import org.apache.hadoop.hive.conf.HiveConf;
+import org.apache.hadoop.hive.metastore.api.Table;
+import org.apache.hadoop.hive.metastore.txn.CompactionInfo;
 
 import java.util.concurrent.ExecutorService;
 import java.util.concurrent.Executors;
 import java.util.concurrent.ThreadFactory;
 
 public class CompactorUtil {
   public static final String COMPACTOR = "compactor";
+  static final String COMPACTOR_PREFIX = "compactor.";
+  static final String MAPRED_QUEUE_NAME = "mapred.job.queue.name";

Review comment:
       I was thinking of changing this constant, but unfortunately, we are 
relying on the naming in other parts of the code. 




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 661548)
    Time Spent: 50m  (was: 40m)

> Custom queue settings is not honoured by compaction StatsUpdater 
> -----------------------------------------------------------------
>
>                 Key: HIVE-25595
>                 URL: https://issues.apache.org/jira/browse/HIVE-25595
>             Project: Hive
>          Issue Type: Bug
>            Reporter: László Pintér
>            Assignee: László Pintér
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> In case of MR based compaction it is possible configure in which queue to 
> start the compaction job. This is achieved either by providing one of the 
> following:
> * Setting hive global conf param hive.compactor.job.queue
> * Providing a tbl level param with the name compactor.mapred.job.queue.name
> * Running a manual compaction with additional properties
> {code:sql}
> ALTER TABLE acid_table COMPACT 'major' WITH 
> TBLPROPERTIES('compactor.mapred.job.queue.name'='some_queue')
> {code}
> When running the stat updater query as part of the compaction process, these 
> settings are not honoured, and the query is always assigned to the default 
> queue. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to