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/ca0d4f7c Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/ca0d4f7c Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/ca0d4f7c Branch: refs/heads/branch-3 Commit: ca0d4f7c55f5c3f885d3d178c7a012037036f15d Parents: 3bb4d1c Author: Gopal V <[email protected]> Authored: Tue Jul 31 13:49:14 2018 -0700 Committer: Gopal V <[email protected]> Committed: Tue Jul 31 13:53:13 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/ca0d4f7c/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);
