[Streaming] Streaming scheduler - part1-2: execution graph (#6666)

This commit is contained in:
Tianyi Chen authored and GitHub committed 2020-02-04 11:51:21 +08:00
1 parent 984490d2be
commit 13882d052d
19 files changed
+841 -6

No files matched your search

@@ -8,7 +8,6 @@ import org.ray.streaming.api.partition.impl.RoundRobinPartition;
import org.ray.streaming.api.stream.DataStream;
import org.ray.streaming.api.stream.DataStreamSource;
import org.ray.streaming.api.stream.StreamSink;
import org.ray.streaming.api.stream.StreamSource;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testng.Assert;
@@ -62,7 +61,7 @@ public class JobGraphBuilderTest {
JobVertex sink = jobVertexList.get(2);
Assert.assertEquals(source.getVertexType(), VertexType.SOURCE);
Assert.assertEquals(map.getVertexType(), VertexType.PROCESS);
Assert.assertEquals(map.getVertexType(), VertexType.TRANSFORMATION);
Assert.assertEquals(sink.getVertexType(), VertexType.SINK);
JobEdge keyBy2Sink = jobEdgeList.get(0);