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

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

                Author: ASF GitHub Bot
            Created on: 23/Jul/20 13:06
            Start Date: 23/Jul/20 13:06
    Worklog Time Spent: 10m 
      Work Description: adesh-rao commented on a change in pull request #1275:
URL: https://github.com/apache/hive/pull/1275#discussion_r459433801



##########
File path: ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Initiator.java
##########
@@ -87,6 +87,9 @@
   public void run() {
     // Make sure nothing escapes this run method and kills the metastore at 
large,
     // so wrap it in a big catch Throwable statement.
+    ExecutorService compactionExecutor = 
CompactorUtil.createExecutorWithThreadFactory(

Review comment:
       Done. 

##########
File path: ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Cleaner.java
##########
@@ -79,7 +82,9 @@ public void run() {
       cleanerCheckInterval = conf.getTimeVar(
           HiveConf.ConfVars.HIVE_COMPACTOR_CLEANER_RUN_INTERVAL, 
TimeUnit.MILLISECONDS);
     }
-
+    ExecutorService cleanerExecutor = 
CompactorUtil.createExecutorWithThreadFactory(

Review comment:
       Done.




----------------------------------------------------------------
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.

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


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

    Worklog Id:     (was: 462553)
    Time Spent: 9.5h  (was: 9h 20m)

> Parallelise compaction directory cleaning process
> -------------------------------------------------
>
>                 Key: HIVE-23324
>                 URL: https://issues.apache.org/jira/browse/HIVE-23324
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Marton Bod
>            Assignee: Adesh Kumar Rao
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 9.5h
>  Remaining Estimate: 0h
>
> Initiator processes the various compaction candidates in parallel, so we 
> could follow a similar approach in Cleaner where we currently clean the 
> directories sequentially.



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

Reply via email to