You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "lisuchao (JIRA)" <ji...@apache.org> on 2016/12/07 09:44:58 UTC

[jira] [Commented] (HIVE-6638) Hive needs to implement recovery for Application Master restart

    [ https://issues.apache.org/jira/browse/HIVE-6638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15728291#comment-15728291 ] 

lisuchao commented on HIVE-6638:
--------------------------------

I used this patch, found that the AM process in the recovery did not call setupTask function.
I put isRecoverySupported function into
    @Override
    public boolean isRecoverySupported(JobContext jobContext) {
      isRecoverySupported = jobContext.getConfiguration().getBoolean(HIVE_EXEC_MR_AM_RECOVER, false);
      return isRecoverySupported;
    }
after just fine.

> Hive needs to implement recovery for Application Master restart 
> ----------------------------------------------------------------
>
>                 Key: HIVE-6638
>                 URL: https://issues.apache.org/jira/browse/HIVE-6638
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>    Affects Versions: 0.11.0, 0.12.0, 0.13.0
>            Reporter: Ashutosh Chauhan
>            Assignee: Mohammad Kamrul Islam
>         Attachments: HIVE-6638.1.patch, HIVE-6638.2.patch
>
>
> Currently, if AM restarts, whole job is restarted. Although, job and subsequently query would still finish to completion, it would be nice if Hive don't need to redo all the work done under previous AM.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)