Vaibhav Gumashta created HIVE-12247: ---------------------------------------
Summary: HiveServer2 in HTTP mode should print a relevant error message when it's threadpool is configured such that it cannot create appropriate acceptor threads while starting up Key: HIVE-12247 URL: https://issues.apache.org/jira/browse/HIVE-12247 Project: Hive Issue Type: Bug Components: HiveServer2 Affects Versions: 1.1.0, 1.2.0 Reporter: Vaibhav Gumashta When run in HTTP mode, HS2 uses embedded jetty. The number of acceptor threads created are based on this formula (http://grepcode.com/file/repo1.maven.org/maven2/org.eclipse.jetty.aggregate/jetty-plus/7.6.0.v20120127/org/eclipse/jetty/server/nio/SelectChannelConnector.java#80): {code} (Math.max(1,(Runtime.getRuntime().availableProcessors()+3)/4)); {code} In cases where {{hive.server2.thrift.max.worker.threads}} is set to a lower value than the above, we should print out a relevant error message. -- This message was sent by Atlassian JIRA (v6.3.4#6332)