mustafaiman commented on a change in pull request #1701:
URL: https://github.com/apache/hive/pull/1701#discussion_r551767994



##########
File path: 
ql/src/java/org/apache/hadoop/hive/ql/exec/tez/HiveSplitGenerator.java
##########
@@ -385,7 +387,11 @@ public HiveSplitGenerator(InputInitializerContext 
initializerContext) throws IOE
 
   @Override
   public void onVertexStateUpdated(VertexStateUpdate stateUpdate) {
-    pruner.processVertex(stateUpdate.getVertexName());
+    // pruner registers for vertex state updates after it is ready to handle 
them
+    // so we do not worry about events coming before pruner was initialized
+    if (pruner != null) {

Review comment:
       Right, this looks like a leftover. I'll remove that check.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to