MAPREDUCE-6540. TestMRTimelineEventHandling fails (sjlee)
This commit is contained in:
parent
a2a104f3d3
commit
9ad708a0df
@ -226,6 +226,8 @@ Trunk (Unreleased)
|
||||
MAPREDUCE-6435. MapReduce client assumes the world is x86
|
||||
(Alan Burlison via aw)
|
||||
|
||||
MAPREDUCE-6540. TestMRTimelineEventHandling fails (sjlee)
|
||||
|
||||
BREAKDOWN OF MAPREDUCE-2841 (NATIVE TASK) SUBTASKS
|
||||
|
||||
MAPREDUCE-5985. native-task: Fix build on macosx. Contributed by
|
||||
|
@ -27,6 +27,7 @@
|
||||
import org.apache.hadoop.yarn.api.records.timeline.TimelineEntities;
|
||||
import org.apache.hadoop.yarn.api.records.timeline.TimelineEntity;
|
||||
import org.apache.hadoop.yarn.conf.YarnConfiguration;
|
||||
import org.apache.hadoop.yarn.server.MiniYARNCluster;
|
||||
import org.apache.hadoop.yarn.server.timeline.TimelineStore;
|
||||
|
||||
import org.junit.Assert;
|
||||
@ -91,6 +92,9 @@ public void testMRTimelineEventHandling() throws Exception {
|
||||
TestJobHistoryEventHandler.class.getSimpleName(), 1);
|
||||
cluster.init(conf);
|
||||
cluster.start();
|
||||
conf.set(YarnConfiguration.TIMELINE_SERVICE_WEBAPP_ADDRESS,
|
||||
MiniYARNCluster.getHostname() + ":"
|
||||
+ cluster.getApplicationHistoryServer().getPort());
|
||||
TimelineStore ts = cluster.getApplicationHistoryServer()
|
||||
.getTimelineStore();
|
||||
|
||||
@ -145,6 +149,9 @@ public void testMapreduceJobTimelineServiceEnabled()
|
||||
TestJobHistoryEventHandler.class.getSimpleName(), 1);
|
||||
cluster.init(conf);
|
||||
cluster.start();
|
||||
conf.set(YarnConfiguration.TIMELINE_SERVICE_WEBAPP_ADDRESS,
|
||||
MiniYARNCluster.getHostname() + ":"
|
||||
+ cluster.getApplicationHistoryServer().getPort());
|
||||
TimelineStore ts = cluster.getApplicationHistoryServer()
|
||||
.getTimelineStore();
|
||||
|
||||
@ -182,6 +189,9 @@ public void testMapreduceJobTimelineServiceEnabled()
|
||||
TestJobHistoryEventHandler.class.getSimpleName(), 1);
|
||||
cluster.init(conf);
|
||||
cluster.start();
|
||||
conf.set(YarnConfiguration.TIMELINE_SERVICE_WEBAPP_ADDRESS,
|
||||
MiniYARNCluster.getHostname() + ":"
|
||||
+ cluster.getApplicationHistoryServer().getPort());
|
||||
TimelineStore ts = cluster.getApplicationHistoryServer()
|
||||
.getTimelineStore();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user