You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by go...@apache.org on 2018/07/31 20:52:11 UTC
[2/3] hive git commit: HIVE-20040: JDBC: HTTP listen queue is 50 and
SYNs are lost (Gopal V, reviewed by Prasanth Jayachandran)
HIVE-20040: JDBC: HTTP listen queue is 50 and SYNs are lost (Gopal V, reviewed by Prasanth Jayachandran)
Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/80ae3332
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/80ae3332
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/80ae3332
Branch: refs/heads/master
Commit: 80ae333272803945e5a44e34bb0370aac30357da
Parents: 4d25151
Author: Gopal V <go...@apache.org>
Authored: Tue Jul 31 13:49:14 2018 -0700
Committer: Gopal V <go...@apache.org>
Committed: Tue Jul 31 13:49:14 2018 -0700
----------------------------------------------------------------------
.../org/apache/hive/service/cli/thrift/ThriftHttpCLIService.java | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hive/blob/80ae3332/service/src/java/org/apache/hive/service/cli/thrift/ThriftHttpCLIService.java
----------------------------------------------------------------------
diff --git a/service/src/java/org/apache/hive/service/cli/thrift/ThriftHttpCLIService.java b/service/src/java/org/apache/hive/service/cli/thrift/ThriftHttpCLIService.java
index 95d78f8..89271d7 100644
--- a/service/src/java/org/apache/hive/service/cli/thrift/ThriftHttpCLIService.java
+++ b/service/src/java/org/apache/hive/service/cli/thrift/ThriftHttpCLIService.java
@@ -143,6 +143,7 @@ public class ThriftHttpCLIService extends ThriftCLIService {
int maxIdleTime = (int) hiveConf.getTimeVar(ConfVars.HIVE_SERVER2_THRIFT_HTTP_MAX_IDLE_TIME,
TimeUnit.MILLISECONDS);
connector.setIdleTimeout(maxIdleTime);
+ connector.setAcceptQueueSize(maxWorkerThreads);
server.addConnector(connector);