hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lisuchao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-6638) Hive needs to implement recovery for Application Master restart
Date Wed, 07 Dec 2016 09:44:58 GMT

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

Mime
View raw message