[ https://issues.apache.org/jira/browse/HIVE-26523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HIVE-26523: ---------------------------------- Labels: pull-request-available (was: ) > 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 > Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > 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. > [https://github.com/apache/hive/blob/master/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java#L3963-L3971] > 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 default value of > "hive.server2.tez.sessions.per.default.queue" -- This message was sent by Atlassian Jira (v8.20.10#820010)