JoinOperator matcher = JoinOperator.builder(LongCancelTimeMatcher.class, IntValue.class, 0, 0)
.input1(source1)
.input2(source2)
.name("Long Cancelling Sort Join")
.build();
GenericDataSink sink = new GenericDataSink(new DiscardingOutputFormat(), matcher, "Sink");
Plan p = new Plan(sink);
p.setDefaultParallelism(DOP);
runAndCancelJob(p, 10 * 1000, 10 * 1000);