hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuan Gong (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-4965) Distributed shell AM failed due to ClientHandlerException thrown by jersey
Date Sun, 17 Apr 2016 02:42:25 GMT

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

Xuan Gong commented on YARN-4965:
---------------------------------

Committed into trunk/branch-2/branch-2.8. Thanks, Junping for the fix. And Thanks Sumana for
reporting this issue.

> Distributed shell AM failed due to ClientHandlerException thrown by jersey
> --------------------------------------------------------------------------
>
>                 Key: YARN-4965
>                 URL: https://issues.apache.org/jira/browse/YARN-4965
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.7.2
>            Reporter: Sumana Sathish
>            Assignee: Junping Du
>            Priority: Critical
>             Fix For: 2.8.0
>
>         Attachments: YARN-4965.patch
>
>
> Distributed shell AM failed with RuntimeException: ClientHandlerException
> {code:title= app logs}
> Exception in thread "AMRM Callback Handler Thread" org.apache.hadoop.yarn.exceptions.YarnRuntimeException:
com.sun.jersey.api.client.ClientHandlerException: java.io.IOException: Stream closed.
> 	at org.apache.hadoop.yarn.client.api.async.impl.AMRMClientAsyncImpl$CallbackHandlerThread.run(AMRMClientAsyncImpl.java:312)
> Caused by: com.sun.jersey.api.client.ClientHandlerException: java.io.IOException: Stream
closed.
> 	at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:563)
> 	at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:506)
> 	at org.apache.hadoop.yarn.client.api.impl.TimelineClientImpl.putEntities(TimelineClientImpl.java:446)
> 	at org.apache.hadoop.yarn.applications.distributedshell.ApplicationMaster.publishContainerEndEvent(ApplicationMaster.java:1144)
> 	at org.apache.hadoop.yarn.applications.distributedshell.ApplicationMaster.access$400(ApplicationMaster.java:169)
> 	at org.apache.hadoop.yarn.applications.distributedshell.ApplicationMaster$RMCallbackHandler.onContainersCompleted(ApplicationMaster.java:779)
> 	at org.apache.hadoop.yarn.client.api.async.impl.AMRMClientAsyncImpl$CallbackHandlerThread.run(AMRMClientAsyncImpl.java:300)
> Caused by: java.io.IOException: Stream closed.
> 	at java.net.AbstractPlainSocketImpl.available(AbstractPlainSocketImpl.java:458)
> 	at java.net.SocketInputStream.available(SocketInputStream.java:245)
> 	at java.io.BufferedInputStream.read(BufferedInputStream.java:342)
> 	at sun.net.www.http.ChunkedInputStream.readAheadBlocking(ChunkedInputStream.java:552)
> 	at sun.net.www.http.ChunkedInputStream.readAhead(ChunkedInputStream.java:609)
> 	at sun.net.www.http.ChunkedInputStream.read(ChunkedInputStream.java:696)
> 	at java.io.FilterInputStream.read(FilterInputStream.java:133)
> 	at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3067)
> 	at org.codehaus.jackson.impl.ByteSourceBootstrapper.ensureLoaded(ByteSourceBootstrapper.java:507)
> 	at org.codehaus.jackson.impl.ByteSourceBootstrapper.detectEncoding(ByteSourceBootstrapper.java:129)
> 	at org.codehaus.jackson.impl.ByteSourceBootstrapper.constructParser(ByteSourceBootstrapper.java:224)
> 	at org.codehaus.jackson.JsonFactory._createJsonParser(JsonFactory.java:785)
> 	at org.codehaus.jackson.JsonFactory.createJsonParser(JsonFactory.java:561)
> 	at org.codehaus.jackson.jaxrs.JacksonJsonProvider.readFrom(JacksonJsonProvider.java:414)
> 	at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:553)
> 	... 6 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message