[ https://issues.apache.org/jira/browse/HIVE-10781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14555504#comment-14555504 ]
Nemon Lou commented on HIVE-10781: ---------------------------------- I think " Utilities.clearWork(job); " should also be put into try block in ExecDriver.java. > HadoopJobExecHelper Leaks RunningJobs > ------------------------------------- > > Key: HIVE-10781 > URL: https://issues.apache.org/jira/browse/HIVE-10781 > Project: Hive > Issue Type: Bug > Components: Hive, HiveServer2 > Affects Versions: 0.13.1, 1.2.0 > Reporter: Nemon Lou > Assignee: Chinna Rao Lalam > Attachments: HIVE-10781.patch > > > On one of our busy hadoop cluster, hiveServer2 holds more than 4000 > org.apache.hadoop.mapred.JobClient$NetworkedJob instances,while only has less > than 3 backgroud handler thread at the same time. > All these instances are hold in one LinkedList from > org.apache.hadoop.hive.ql.exec.mr.HadoopJobExecHelper's runningJobs > property,which is static. -- This message was sent by Atlassian JIRA (v6.3.4#6332)