[ https://issues.apache.org/jira/browse/YARN-3046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14499238#comment-14499238 ]
Zhijie Shen commented on YARN-3046: ----------------------------------- Task entity Id should be be the job Id, but the task Id. PS: there's a typo here. {code} 1074 // create TaskEntity from HitoryEvent with adding other info, like: 1075 // jobId, timestamp, entityType and relatedJobEntity. 1076 private org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity 1077 createTaskEntity(HistoryEvent event, long timestamp, JobId jobId, 1078 String entityType, String relatedJobEntity) { 1079 org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity entity = 1080 createJobEntity(event, timestamp, jobId, entityType); 1081 entity.addIsRelatedToEntity(relatedJobEntity, jobId.toString()); 1082 return entity; 1083 } {code} > [Event producers] Implement MapReduce AM writing some MR metrics to ATS > ----------------------------------------------------------------------- > > Key: YARN-3046 > URL: https://issues.apache.org/jira/browse/YARN-3046 > Project: Hadoop YARN > Issue Type: Sub-task > Components: timelineserver > Reporter: Sangjin Lee > Assignee: Junping Du > Attachments: YARN-3046-no-test-v2.patch, YARN-3046-no-test.patch, > YARN-3046-v1-rebase.patch, YARN-3046-v1.patch, YARN-3046-v2.patch > > > Per design in YARN-2928, select a handful of MR metrics (e.g. HDFS bytes > written) and have the MR AM write the framework-specific metrics to ATS. -- This message was sent by Atlassian JIRA (v6.3.4#6332)