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

Hitesh Shah edited comment on TEZ-1155 at 5/28/14 4:22 AM:
-----------------------------------------------------------

[~sershe] Do you have the timeline server enabled and running? If it is not 
running, is the ats logger enabled in tez-site.xml?  The above errors should 
show up if the ats logging has been enabled but the service is down.


was (Author: hitesh):
[~sershe] Do you have the timeline server enabled and running? If it is not 
running, is the ats service enabled in tez-site.xml?  The above errors should 
show up if the ats logging has been enabled but the service is down.

> there are many ATS exceptions in the logs
> -----------------------------------------
>
>                 Key: TEZ-1155
>                 URL: https://issues.apache.org/jira/browse/TEZ-1155
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>
> Unfortunately I only preserved part of call stack.
> I get lots of exceptions in the logs like these; they do not fail the tasks 
> but flood the log and are rather annoying:
> {noformat}
>    at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
>    at com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:563)
>    at 
> org.apache.hadoop.yarn.client.api.impl.TimelineClientImpl.doPostingEntities(TimelineClientImpl.java:116)
>    at 
> org.apache.hadoop.yarn.client.api.impl.TimelineClientImpl.putEntities(TimelineClientImpl.java:89)
>    at 
> org.apache.tez.dag.history.ats.ATSService.handleEvent(ATSService.java:191)
>    at org.apache.tez.dag.history.ats.ATSService.access$600(ATSService.java:40)
>    at org.apache.tez.dag.history.ats.ATSService$1.run(ATSService.java:106)
>    at java.lang.Thread.run(Thread.java:724)
> Caused by: java.net.ConnectException: Connection refused
>    at java.net.PlainSocketImpl.socketConnect(Native Method)
>    at 
> java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
>    at 
> java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
>    at 
> java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
>    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
>    at java.net.Socket.connect(Socket.java:579)
>    at java.net.Socket.connect(Socket.java:528)
>    at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
>    at sun.net.www.http.HttpClient.openServer(HttpClient.java:378)
>    at sun.net.www.http.HttpClient.openServer(HttpClient.java:473)
>    at sun.net.www.http.HttpClient.<init>(HttpClient.java:203)
>    at sun.net.www.http.HttpClient.New(HttpClient.java:290)
>    at sun.net.www.http.HttpClient.New(HttpClient.java:306)
>    at 
> sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:995)
>    at 
> sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:931)
>    at 
> sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:849)
>    at 
> sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1090)
>    at 
> com.sun.jersey.client.urlconnection.URLConnectionClientHandler$1$1.getOutputStream(URLConnectionClientHandler.java:225)
>    at 
> com.sun.jersey.api.client.CommittingOutputStream.commitWrite(CommittingOutputStream.java:117)
>    at 
> com.sun.jersey.api.client.CommittingOutputStream.write(CommittingOutputStream.java:89)
>    at 
> org.codehaus.jackson.impl.Utf8Generator._flushBuffer(Utf8Generator.java:1754)
>    at org.codehaus.jackson.impl.Utf8Generator.flush(Utf8Generator.java:1088)
>    at org.codehaus.jackson.map.ObjectMapper.writeValue(ObjectMapper.java:1354)
>    at 
> org.codehaus.jackson.jaxrs.JacksonJsonProvider.writeTo(JacksonJsonProvider.java:527)
>    at 
> com.sun.jersey.api.client.RequestWriter.writeRequestEntity(RequestWriter.java:300)
>    at 
> com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:204)
>    at 
> com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:147)
>    ... 10 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to