diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/SimpleEntityWriter.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/SimpleEntityWriter.java index 4ef0a14bfea..625c32ae606 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/SimpleEntityWriter.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/SimpleEntityWriter.java @@ -97,6 +97,7 @@ class SimpleEntityWriter extends EntityWriter { entity.addInfo("PERF_TEST", payLoad); // add an event TimelineEvent event = new TimelineEvent(); + event.setId("foo_event_id"); event.setTimestamp(System.currentTimeMillis()); event.addInfo("foo_event", "test"); entity.addEvent(event);