hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohith Sharma K S (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-8397) ActivitiesManager thread doesn't handles InterruptedException
Date Tue, 05 Jun 2018 10:48:00 GMT

    [ https://issues.apache.org/jira/browse/YARN-8397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16501582#comment-16501582
] 

Rohith Sharma K S commented on YARN-8397:
-----------------------------------------

There were 2 issues which got fixed in this patch. 
# ActivityManager doesn't handle InterruptedException. 
# Since activityManager was not stopped anywhere, in RM HA scenario there was one thread leak
on every RM switch. I

> ActivitiesManager thread doesn't handles InterruptedException 
> --------------------------------------------------------------
>
>                 Key: YARN-8397
>                 URL: https://issues.apache.org/jira/browse/YARN-8397
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Rohith Sharma K S
>            Priority: Major
>         Attachments: YARN-8397.01.patch
>
>
> It is observed while using MiniYARNCluster, MiniYARNCluster#stop doesn't stop JVM. 
> Thread dump shows that ActivitiesManager is in timed_waiting state. 
> {code}
> "Thread-43" #66 prio=5 os_prio=31 tid=0x00007ffea09fd000 nid=0xa103 waiting on condition
[0x0000700006f10000]
>    java.lang.Thread.State: TIMED_WAITING (sleeping)
> 	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.activities.ActivitiesManager$1.run(ActivitiesManager.java:142)
> 	at java.lang.Thread.run(Thread.java:748)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message