[
https://issues.apache.org/jira/browse/LENS-743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15048557#comment-15048557
]
Rajat Khandelwal commented on LENS-743:
---------------------------------------
In Same id approach we won't need to add new APIs. Existing APIs will work
fine. States need to be added and their transformations need to be analyzed.
LensQuery and QueryContext will have a new variable `retrynumber`.
For db, currently we only update a query to db after it's finished. For re-try
case, the query is not finished, it's being re-tried. So we can raise the
FAILURE events, but won't add to db. Instead, we'll directly re-launch on
driver.
> 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
>
> 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)