hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gopal V (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-10081) LLAP: Make the low-level IO threadpool configurable
Date Wed, 25 Mar 2015 04:12:52 GMT
Gopal V created HIVE-10081:
------------------------------

             Summary: LLAP: Make the low-level IO threadpool configurable
                 Key: HIVE-10081
                 URL: https://issues.apache.org/jira/browse/HIVE-10081
             Project: Hive
          Issue Type: Sub-task
            Reporter: Gopal V
            Assignee: Prasanth Jayachandran


The LLAP low level reader thread-pool is hard-limited to 10-threads, which is not sufficient
to max out the network bandwidth on a 10GigE network.

These threads are often seen in IOWAIT, since they are reading remote data.

A dumb fix for my 12-core instance was to use a higher thread-pool count for the IO read-ahead.

{code}
diff --git a/llap-server/src/java/org/apache/hadoop/hive/llap/io/api/impl/LlapIoImpl.java
b/llap-server/src/java/org/apache/hadoop/hive/llap/io/api/impl/LlapIoImpl.java
index 3f9ddfb..b7cd177 100644
--- a/llap-server/src/java/org/apache/hadoop/hive/llap/io/api/impl/LlapIoImpl.java
+++ b/llap-server/src/java/org/apache/hadoop/hive/llap/io/api/impl/LlapIoImpl.java
@@ -105,7 +105,7 @@ private LlapIoImpl(Configuration conf) throws IOException {
       cachePolicy.setEvictionListener(metadataCache);
     }
     // Arbitrary thread pool. Listening is used for unhandled errors for now (TODO: remove?)
-    executor = MoreExecutors.listeningDecorator(Executors.newFixedThreadPool(10));
+    executor = MoreExecutors.listeningDecorator(Executors.newFixedThreadPool(24));
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message