rdblue commented on a change in pull request #1620:
URL: https://github.com/apache/iceberg/pull/1620#discussion_r506601681



##########
File path: 
hive-metastore/src/test/java/org/apache/iceberg/hive/TestHiveMetastore.java
##########
@@ -166,8 +166,8 @@ private TServer newThriftServer(TServerSocket socket, 
HiveConf conf) throws Exce
         .processor(new TSetIpAddressProcessor<>(handler))
         .transportFactory(new TTransportFactory())
         .protocolFactory(new TBinaryProtocol.Factory())
-        .minWorkerThreads(3)
-        .maxWorkerThreads(5);
+        .minWorkerThreads(5)
+        .maxWorkerThreads(15);

Review comment:
       I don't think we should change these values for the majority of Hive 
tests, or at least Hive Metastore tests, because this has helped us track down 
connection leaks. It sounds like we should change these for HiveRunner tests, 
where we have less control of the connections. If Hive itself doesn't pool or 
close connections, then we would need to bump this up.
   
   Could you make this configurable so that we can set it for the tests that 
need it?




----------------------------------------------------------------
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to