.keyField(IntValue.class, 1)
.input(edgeCounter)
.name("Join Counts")
.build();
FileDataSink triangles = new FileDataSink(new EdgeWithDegreesOutputFormat(), output, countJoiner, "Unique Edges With Degrees");
Plan p = new Plan(triangles, "Normalize Edges and compute Vertex Degrees");
p.setDefaultParallelism(numSubTasks);
return p;
}