ghanko commented on a change in pull request #166:
URL: https://github.com/apache/tez/pull/166#discussion_r793856943
##########
File path:
tez-dag/src/main/java/org/apache/tez/dag/app/dag/impl/DAGSchedulerNaturalOrderControlled.java
##########
@@ -154,8 +154,7 @@ private void processDownstreamVertices(Vertex vertex) {
List<Vertex> newlyScheduledVertices = Lists.newLinkedList();
Map<Vertex, Edge> outputVertexEdgeMap = vertex.getOutputVertices();
for (Vertex destVertex : outputVertexEdgeMap.keySet()) {
- if (vertexAlreadyScheduled(destVertex)) { // Nothing to do if already
scheduled.
- } else {
+ if (!vertexAlreadyScheduled(destVertex)) { // Nothing to do if already
scheduled.
Review comment:
done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]