aasha commented on a change in pull request #1289:
URL: https://github.com/apache/hive/pull/1289#discussion_r458982494



##########
File path: 
ql/src/java/org/apache/hadoop/hive/ql/parse/repl/metric/ReplicationMetricCollector.java
##########
@@ -77,6 +77,9 @@ public void reportStageEnd(String stageName, Status status, 
long lastReplId) thr
       Stage stage = progress.getStageByName(stageName);
       stage.setStatus(status);
       stage.setEndTime(System.currentTimeMillis());
+      if (Status.FAILED == status) {

Review comment:
       If the stage has failed, the overall state should also be failed. Now it 
remains in progress. Noticed during testing this issue.




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