[ https://issues.apache.org/jira/browse/MAPREDUCE-5933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Kanter updated MAPREDUCE-5933: ------------------------------------- Attachment: MAPREDUCE-5933.patch mr_timelineserver_response.txt The patch updates the JobHistoryEventHandler to post events to the ATS via the TimelineClient. The events are the same as the JHS events and contain basically the same info. I had to do some additional preprocessing on the Counters to turn them into JSON so that jackson could handle them properly. The "mr_timelineserver_response.txt" has example output of what the resulting JSON looks like when querying the ATS at {{http://localhost:8188/ws/v1/timeline/mapreduce}}, after running a couple of MR jobs. > Enable MR AM to post history events to the timeline server > ---------------------------------------------------------- > > Key: MAPREDUCE-5933 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-5933 > Project: Hadoop Map/Reduce > Issue Type: Sub-task > Components: mr-am > Reporter: Zhijie Shen > Assignee: Robert Kanter > Attachments: MAPREDUCE-5933.patch, mr_timelineserver_response.txt > > > Nowadays, MR AM collects the history events and writes it to HDFS for JHS to > source. With the timeline server, MR AM can put these events there. -- This message was sent by Atlassian JIRA (v6.2#6252)