Search in sources :

Example 1 with MemoryTimelineStore

use of org.apache.hadoop.yarn.server.timeline.MemoryTimelineStore in project hadoop by apache.

the class TestApplicationHistoryManagerOnTimelineStore method createStore.

public static TimelineStore createStore(int scale) throws Exception {
    TimelineStore store = new MemoryTimelineStore();
    prepareTimelineStore(store, scale);
    return store;
}
Also used : MemoryTimelineStore(org.apache.hadoop.yarn.server.timeline.MemoryTimelineStore) MemoryTimelineStore(org.apache.hadoop.yarn.server.timeline.MemoryTimelineStore) TimelineStore(org.apache.hadoop.yarn.server.timeline.TimelineStore)

Example 2 with MemoryTimelineStore

use of org.apache.hadoop.yarn.server.timeline.MemoryTimelineStore in project hadoop by apache.

the class TestMemoryTimelineStore method setup.

@Before
public void setup() throws Exception {
    store = new MemoryTimelineStore();
    store.init(new YarnConfiguration());
    store.start();
    loadTestEntityData();
    loadVerificationEntityData();
    loadTestDomainData();
}
Also used : YarnConfiguration(org.apache.hadoop.yarn.conf.YarnConfiguration) MemoryTimelineStore(org.apache.hadoop.yarn.server.timeline.MemoryTimelineStore) Before(org.junit.Before)

Aggregations

MemoryTimelineStore (org.apache.hadoop.yarn.server.timeline.MemoryTimelineStore)2 YarnConfiguration (org.apache.hadoop.yarn.conf.YarnConfiguration)1 TimelineStore (org.apache.hadoop.yarn.server.timeline.TimelineStore)1 Before (org.junit.Before)1