Siddharth Seth created HIVE-13158: ------------------------------------- Summary: HiveServer should pick AMs which are already ready from the pool Key: HIVE-13158 URL: https://issues.apache.org/jira/browse/HIVE-13158 Project: Hive Issue Type: Bug Reporter: Siddharth Seth
Scenario. Start HiveServer2 with 3 sessions. At startup there's capacity for this. All 3 sessions time out. There's capacity for one session only. The first query submitted will start a session and use it. The second query submitted (after the first one is submitted) ends up trying to launch a new session as well - instead of using the existing free session. Since there's no capacity, this ends up blocking. -- This message was sent by Atlassian JIRA (v6.3.4#6332)