Mayank Kunwar created HIVE-26523: ------------------------------------ Summary: Hive job stuck for a long time Key: HIVE-26523 URL: https://issues.apache.org/jira/browse/HIVE-26523 Project: Hive Issue Type: Bug Components: HiveServer2 Affects Versions: 4.0.0-alpha-1 Reporter: Mayank Kunwar Assignee: Mayank Kunwar
The default value of "hive.server2.tez.initialize.default.sessions" is true, due to which query was stuck on waiting to choose a session from default queue pool as the default queue pool size is set as 1 . 2022-07-10 16:34:23,831 INFO org.apache.hadoop.hive.ql.exec.tez.TezSessionPoolManager: [HiveServer2-Background-Pool: Thread-184167]: Choosing a session from the defaultQueuePool 2022-07-10 18:15:48,295 INFO org.apache.hadoop.hive.ql.exec.tez.TezTask: [HiveServer2-Background-Pool: Thread-184167]: Subscribed to counters: [] for queryId: hive_20220710163423_c3f3deed-7a41-4865-9ce6-756fc7e6fbb8 2022-07-10 18:15:48,295 INFO org.apache.hadoop.hive.ql.exec.tez.TezTask: [HiveServer2-Background-Pool: Thread-184167]: Session is already open A possible work around is to increase the value of "hive.server2.tez.sessions.per.default.queue" -- This message was sent by Atlassian Jira (v8.20.10#820010)