[ 
https://issues.apache.org/jira/browse/HIVE-24227?focusedWorklogId=495277&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-495277
 ]

ASF GitHub Bot logged work on HIVE-24227:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 05/Oct/20 11:30
            Start Date: 05/Oct/20 11:30
    Worklog Time Spent: 10m 
      Work Description: aasha commented on a change in pull request #1550:
URL: https://github.com/apache/hive/pull/1550#discussion_r499529820



##########
File path: ql/src/java/org/apache/hadoop/hive/ql/exec/ColumnStatsUpdateTask.java
##########
@@ -355,8 +360,32 @@ public int execute() {
     } catch (Exception e) {
       setException(e);
       LOG.info("Failed to persist stats in metastore", e);
+      int errorCode = ErrorMsg.getErrorMsg(e.getMessage()).getErrorCode();
+      try {
+        ReplicationMetricCollector metricCollector = work.getMetricCollector();
+        if (errorCode > 40000) {

Review comment:
       Same applies to all the tasks




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


Issue Time Tracking
-------------------

    Worklog Id:     (was: 495277)
    Time Spent: 1h 20m  (was: 1h 10m)

> sys.replication_metrics table shows incorrect status for failed policies
> ------------------------------------------------------------------------
>
>                 Key: HIVE-24227
>                 URL: https://issues.apache.org/jira/browse/HIVE-24227
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Arko Sharma
>            Assignee: Arko Sharma
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to