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

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

                Author: ASF GitHub Bot
            Created on: 11/Aug/20 03:36
            Start Date: 11/Aug/20 03:36
    Worklog Time Spent: 10m 
      Work Description: aasha commented on a change in pull request #1367:
URL: https://github.com/apache/hive/pull/1367#discussion_r468307076



##########
File path: ql/src/java/org/apache/hadoop/hive/ql/exec/repl/AtlasDumpTask.java
##########
@@ -107,12 +107,21 @@ public int execute() {
     } catch (Exception e) {
       LOG.error("Exception while dumping atlas metadata", e);
       setException(e);
+      int errorCode = ErrorMsg.getErrorMsg(e.getMessage()).getErrorCode();
       try {
-        work.getMetricCollector().reportStageEnd(getName(), Status.FAILED);
+        if (errorCode > 40000) {

Review comment:
       Generic error is thrown at multiple places. That needn't be non 
recoverable. Replication specific errors are > 40000




----------------------------------------------------------------
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: 469003)
    Time Spent: 1h 10m  (was: 1h)

> Handle irrecoverable errors
> ---------------------------
>
>                 Key: HIVE-23993
>                 URL: https://issues.apache.org/jira/browse/HIVE-23993
>             Project: Hive
>          Issue Type: Task
>            Reporter: Aasha Medhi
>            Assignee: Aasha Medhi
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-23993.01.patch, HIVE-23993.02.patch, Retry Logic 
> for Replication.pdf
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>




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

Reply via email to