Examples of NirvanaOutputList


Examples of eu.stratosphere.pact.runtime.test.util.NirvanaOutputList

  @Test
  public void testFailingDataSourceTask() {
    int keyCnt = 20;
    int valCnt = 10;
   
    this.outList = new NirvanaOutputList();
   
    try {
      InputFilePreparator.prepareInputFile(new UniformRecordGenerator(keyCnt, valCnt, false),
        this.tempTestPath, false);
    } catch (IOException e1) {
View Full Code Here

Examples of eu.stratosphere.pact.runtime.test.util.NirvanaOutputList

  public void testCancelDataSourceTask() {
    int keyCnt = 20;
    int valCnt = 4;

    super.initEnvironment(MEMORY_MANAGER_SIZE, NETWORK_BUFFER_SIZE);
    super.addOutput(new NirvanaOutputList());
   
    try {
      InputFilePreparator.prepareInputFile(new UniformRecordGenerator(keyCnt, valCnt, false),
        this.tempTestPath, false);
    } catch (IOException e1) {
View Full Code Here

Examples of eu.stratosphere.pact.runtime.test.util.NirvanaOutputList

 
  @Test
  public void testCancelReduceTaskWhileSorting()
  {
    addInputComparator(this.comparator);
    setOutput(new NirvanaOutputList());
    getTaskConfig().setDriverStrategy(DriverStrategy.SORTED_GROUP_REDUCE);
   
    final GroupReduceDriver<Record, Record> testTask = new GroupReduceDriver<Record, Record>();
   
    try {
View Full Code Here

Examples of eu.stratosphere.pact.runtime.test.util.NirvanaOutputList

    final int keyCnt = 1000;
    final int valCnt = 2;
   
    addInput(new UniformRecordGenerator(keyCnt, valCnt, true));
    addInputComparator(this.comparator);
    setOutput(new NirvanaOutputList());
    getTaskConfig().setDriverStrategy(DriverStrategy.SORTED_GROUP_REDUCE);
   
    final GroupReduceDriver<Record, Record> testTask = new GroupReduceDriver<Record, Record>();
   
    final AtomicBoolean success = new AtomicBoolean(false);
View Full Code Here

Examples of eu.stratosphere.pact.runtime.test.util.NirvanaOutputList

    int valCnt1 = 20;
   
    int keyCnt2 = 20;
    int valCnt2 = 20;
   
    setOutput(new NirvanaOutputList());
    addInputComparator(this.comparator1);
    addInputComparator(this.comparator2);
    getTaskConfig().setDriverPairComparator(RecordPairComparatorFactory.get());
    getTaskConfig().setDriverStrategy(DriverStrategy.MERGE);
    getTaskConfig().setMemoryDriver(BNLJN_MEM);
View Full Code Here

Examples of eu.stratosphere.pact.runtime.test.util.NirvanaOutputList

  @Test
  public void testCancelMatchTaskWhileSort1() {
    int keyCnt = 20;
    int valCnt = 20;
   
    setOutput(new NirvanaOutputList());
    addInputComparator(this.comparator1);
    addInputComparator(this.comparator2);
    getTaskConfig().setDriverPairComparator(RecordPairComparatorFactory.get());
    getTaskConfig().setDriverStrategy(DriverStrategy.MERGE);
    getTaskConfig().setMemoryDriver(BNLJN_MEM);
View Full Code Here

Examples of eu.stratosphere.pact.runtime.test.util.NirvanaOutputList

  @Test
  public void testCancelMatchTaskWhileSort2() {
    int keyCnt = 20;
    int valCnt = 20;
   
    setOutput(new NirvanaOutputList());
    addInputComparator(this.comparator1);
    addInputComparator(this.comparator2);
    getTaskConfig().setDriverPairComparator(RecordPairComparatorFactory.get());
    getTaskConfig().setDriverStrategy(DriverStrategy.MERGE);
    getTaskConfig().setMemoryDriver(BNLJN_MEM);
View Full Code Here

Examples of eu.stratosphere.pact.runtime.test.util.NirvanaOutputList

  @Test
  public void testCancelMatchTaskWhileMatching() {
    int keyCnt = 20;
    int valCnt = 20;
   
    setOutput(new NirvanaOutputList());
    addInputComparator(this.comparator1);
    addInputComparator(this.comparator2);
    getTaskConfig().setDriverPairComparator(RecordPairComparatorFactory.get());
    getTaskConfig().setDriverStrategy(DriverStrategy.MERGE);
    getTaskConfig().setMemoryDriver(BNLJN_MEM);
View Full Code Here

Examples of eu.stratosphere.pact.runtime.test.util.NirvanaOutputList

    addInput(new UniformRecordGenerator(keyCnt1, valCnt1, false));
    addInput(new UniformRecordGenerator(keyCnt2, valCnt2, false));
    addInputComparator(this.comparator1);
    addInputComparator(this.comparator2);
    getTaskConfig().setDriverPairComparator(RecordPairComparatorFactory.get());
    setOutput(new NirvanaOutputList());
    getTaskConfig().setDriverStrategy(DriverStrategy.HYBRIDHASH_BUILD_FIRST);
    getTaskConfig().setMemoryDriver(HASH_MEM);
   
    MatchDriver<Record, Record, Record> testTask = new MatchDriver<Record, Record, Record>();
   
View Full Code Here

Examples of eu.stratosphere.pact.runtime.test.util.NirvanaOutputList

    addInput(new UniformRecordGenerator(keyCnt1, valCnt1, false));
    addInput(new UniformRecordGenerator(keyCnt2, valCnt2, false));
    addInputComparator(this.comparator1);
    addInputComparator(this.comparator2);
    getTaskConfig().setDriverPairComparator(RecordPairComparatorFactory.get());
    setOutput(new NirvanaOutputList());
    getTaskConfig().setDriverStrategy(DriverStrategy.HYBRIDHASH_BUILD_SECOND);
    getTaskConfig().setMemoryDriver(HASH_MEM);
   
    MatchDriver<Record, Record, Record> testTask = new MatchDriver<Record, Record, Record>();
   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.