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

Rajat Khandelwal commented on LENS-743:
---------------------------------------

I'm thinking creating a new query handle will result in addition of a lot of 
book-keeping code. 

Instead of that, I'm thinking we should add a retry-count field in query 
context. The email failure message will be sent to the user as usual. User will 
be notified that we're re-trying the query. Query handle will be same, all the 
state transitions will be same, just that after FAILED, it'll move to 
QUEUED/RUNNING state. 

> Query failure retries for transient errors
> ------------------------------------------
>
>                 Key: LENS-743
>                 URL: https://issues.apache.org/jira/browse/LENS-743
>             Project: Apache Lens
>          Issue Type: Improvement
>          Components: server
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Rajat Khandelwal
>              Labels: newbie
>
> There have to be retries for query failures for transient errors like network 
> errors (Hive server not reachable/ Metastore not reachable/ DB not 
> reachable). Retries should be available for each phase - submission, 
> execution, updating status, fetching results and formatting.
> Right now, any such failure results in marking query as failed.



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

Reply via email to