You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Gopal V (JIRA)" <ji...@apache.org> on 2015/03/25 05:12:52 UTC
[jira] [Created] (HIVE-10081) LLAP: Make the low-level IO
threadpool configurable
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)