You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Monani Mihir (JIRA)" <ji...@apache.org> on 2019/03/13 09:50:00 UTC
[jira] [Created] (PHOENIX-5193) Handle SQLException:ERROR 2008
(INT10) in PhoenixIndexFailurePolicy#doBatchWithRetries
Monani Mihir created PHOENIX-5193:
-------------------------------------
Summary: Handle SQLException:ERROR 2008 (INT10) in PhoenixIndexFailurePolicy#doBatchWithRetries
Key: PHOENIX-5193
URL: https://issues.apache.org/jira/browse/PHOENIX-5193
Project: Phoenix
Issue Type: Improvement
Affects Versions: 4.14.1, 5.0.0, 4.14.0
Reporter: Monani Mihir
Assignee: Monani Mihir
In MutationState#send(Iterator<TableRef>)#doMutation , we use htable.batch() which will throw SQLException wrapped in RetriesExhaustedWithDetailsException.
These wrapped SQLException are of two types,
1) INDEX_WRITE_FAILURE(1121, "XCL21", "Write to the index failed.")
2) INDEX_METADATA_NOT_FOUND(2008, "INT10", "Unable to find cached index metadata. ")
Out of this we only handle 1st (INDEX_WRITE_FAILURE) and we should handle 2nd one too (INDEX_METADATA_NOT_FOUND)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)