hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <>
Subject [jira] [Work logged] (HIVE-23324) Parallelise compaction directory cleaning process
Date Wed, 22 Jul 2020 08:08:00 GMT


ASF GitHub Bot logged work on HIVE-23324:

                Author: ASF GitHub Bot
            Created on: 22/Jul/20 08:07
            Start Date: 22/Jul/20 08:07
    Worklog Time Spent: 10m 
      Work Description: pvary commented on a change in pull request #1275:

File path: ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/
@@ -64,13 +72,23 @@
   static final private String CLASS_NAME = Cleaner.class.getName();
   static final private Logger LOG = LoggerFactory.getLogger(CLASS_NAME);
   private long cleanerCheckInterval = 0;
+  private ExecutorService cleanerExecutor;
+  private CompletionService<Void> completionService;
   private ReplChangeManager replChangeManager;
   public void init(AtomicBoolean stop) throws Exception {
     replChangeManager = ReplChangeManager.getInstance(conf);
+    ThreadFactory threadFactory = new ThreadFactoryBuilder()

Review comment:
       Or maybe use this as an utility method to create the executor like:
   WhateverUtil.createExecutor(String name, int size) {}

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:

Issue Time Tracking

    Worklog Id:     (was: 461892)
    Time Spent: 3.5h  (was: 3h 20m)

> Parallelise compaction directory cleaning process
> -------------------------------------------------
>                 Key: HIVE-23324
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Marton Bod
>            Assignee: Adesh Kumar Rao
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 3.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

View raw message