hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Lowe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-5445) MRApp tries to stop services from AsyncDispatcher thread
Date Fri, 02 Aug 2013 16:17:50 GMT

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

Jason Lowe commented on MAPREDUCE-5445:
---------------------------------------

Here's a sample stacktrace showing the problem:

{noformat}
2013-08-02 16:10:05,004 WARN  [AsyncDispatcher event handler] event.AsyncDispatcher (AsyncDispatcher.java:serviceStop(113))
- Interrupted Exception while stopping
java.lang.InterruptedException
	at java.lang.Object.wait(Native Method)
	at java.lang.Thread.join(Thread.java:1186)
	at java.lang.Thread.join(Thread.java:1239)
	at org.apache.hadoop.yarn.event.AsyncDispatcher.serviceStop(AsyncDispatcher.java:111)
	at org.apache.hadoop.service.AbstractService.stop(AbstractService.java:221)
	at org.apache.hadoop.service.ServiceOperations.stop(ServiceOperations.java:52)
	at org.apache.hadoop.service.ServiceOperations.stopQuietly(ServiceOperations.java:80)
	at org.apache.hadoop.service.CompositeService.stop(CompositeService.java:139)
	at org.apache.hadoop.service.CompositeService.serviceStop(CompositeService.java:112)
	at org.apache.hadoop.service.AbstractService.stop(AbstractService.java:221)
	at org.apache.hadoop.mapreduce.v2.app.MRApp$1.handle(MRApp.java:416)
	at org.apache.hadoop.mapreduce.v2.app.MRApp$1.handle(MRApp.java:413)
	at org.apache.hadoop.yarn.event.AsyncDispatcher.dispatch(AsyncDispatcher.java:134)
	at org.apache.hadoop.yarn.event.AsyncDispatcher$1.run(AsyncDispatcher.java:81)
	at java.lang.Thread.run(Thread.java:662)
{noformat}
                
> MRApp tries to stop services from AsyncDispatcher thread
> --------------------------------------------------------
>
>                 Key: MAPREDUCE-5445
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5445
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2, test
>    Affects Versions: 2.0.5-alpha
>            Reporter: Jason Lowe
>
> MRApp tries to stop services from within a service thread.  That causes the stop call
itself to be interrupted and not all services are stopped.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message