Prasanth Jayachandran created HIVE-22859: --------------------------------------------
Summary: Tez external sessions are leaking Key: HIVE-22859 URL: https://issues.apache.org/jira/browse/HIVE-22859 Project: Hive Issue Type: Bug Affects Versions: 4.0.0 Reporter: Prasanth Jayachandran Assignee: Prasanth Jayachandran When Tez external/unmanaged sessions are used, TezSessionPoolManager "opens" the session using ApplicationId which is essentially connecting to existing external/unmanaged session. But when the session is returned it is not closed (close for external session is essentially releasing it from sessions list and not really killing the session). If a session is not closed, it is never removed from openSessions linked list that HS2 maintains hence leaking the session. -- This message was sent by Atlassian Jira (v8.3.4#803005)