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

Jonathan Eagles commented on TEZ-1066:
--------------------------------------

The issue above where there  is a mismatch of dependencies that tez shows in 
its lib path is now fixed. However there is a runtime issue when trying to 
connect to the ATS (ATS running and tez configured to log events via ATS)

14/05/19 20:08:59 INFO examples.OrderedWordCount: Waiting for TezSession to get 
into ready state
14/05/19 20:09:08 INFO client.TezSession: Failed to retrieve AM Status via proxy
...

and from the AM

2014-05-19 20:09:07,933 FATAL [HistoryEventHandlingThread] 
org.apache.hadoop.yarn.YarnUncaughtExceptionHandler: Thread 
Thread[HistoryEventHandlingThread,5,main] threw an Error.  Shutting down now...
java.lang.NoSuchMethodError: 
org.codehaus.jackson.map.ObjectMapper.setSerializationInclusion(Lorg/codehaus/jackson/map/annotate/JsonSerialize$Inclusion;)Lorg/codehaus/jackson/map/ObjectMapper;
        at 
org.apache.hadoop.yarn.webapp.YarnJacksonJaxbJsonProvider.locateMapper(YarnJacksonJaxbJsonProvider.java:54)
        at 
org.codehaus.jackson.jaxrs.JacksonJsonProvider.writeTo(JacksonJsonProvider.java:488)
        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)
        at com.sun.jersey.api.client.Client.handle(Client.java:648)
        at com.sun.jersey.api.client.WebResource.handle(WebResource.java:670)
        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:131)
        at 
org.apache.hadoop.yarn.client.api.impl.TimelineClientImpl.putEntities(TimelineClientImpl.java:104)
        at 
org.apache.tez.dag.history.logging.ats.ATSHistoryLoggingService.handleEvent(ATSHistoryLoggingService.java:189)
        at 
org.apache.tez.dag.history.logging.ats.ATSHistoryLoggingService.access$600(ATSHistoryLoggingService.java:40)
        at 
org.apache.tez.dag.history.logging.ats.ATSHistoryLoggingService$1.run(ATSHistoryLoggingService.java:104)
        at java.lang.Thread.run(Thread.java:722)

when I delete the *jackson* jars from the tez-dist-full/lib path then the error 
goes away and I can run jobs successfully. 

> Generate events to integrate with YARN timeline server 
> -------------------------------------------------------
>
>                 Key: TEZ-1066
>                 URL: https://issues.apache.org/jira/browse/TEZ-1066
>             Project: Apache Tez
>          Issue Type: Sub-task
>            Reporter: Hitesh Shah
>            Assignee: Hitesh Shah
>         Attachments: ATS-mvn-deptree-hadoop2_5_0-SNAPSHOT.txt, 
> TEZ-1066.1.wip.patch, TEZ-1066.2.wip.patch, TEZ-1066.3.wip.patch, 
> TEZ-1066.4.patch, TEZ-1066.5.patch, TEZ-1066.6.patch, TEZ-1066.7.patch, 
> ats-dag-entity.json, ats-task-entity.json, ats-taskattempt-entity.json, 
> ats-vertex-entity.json
>
>




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

Reply via email to