Daniel Roudnitsky created HBASE-29672:
-----------------------------------------

             Summary: Handle comparison failures during filtering gracefully
                 Key: HBASE-29672
                 URL: https://issues.apache.org/jira/browse/HBASE-29672
             Project: HBase
          Issue Type: Improvement
          Components: Filters
            Reporter: Daniel Roudnitsky
            Assignee: Daniel Roudnitsky


There is a large class of filters: 

{code:java}
RowFilter
ValueFilter
QualifierFilter
FamilyFilter
DependentColumnFilter
ColumnValueFilter
SingleColumnValueFilter
SingleColumnValueExcludeFilter
{code}

Which take a ByteArrayComparable comparator as an argument (e.g 
BinaryComparator, RegexStringComparator, BinaryComponentComparator) and apply 
the given comparator at query runtime on the server. Due to filter 
misconfiguration/data shape/comparator bugs, a comparator may throw a runtime 
exception which filters are not currently handling which results in scan RPCs 
failing with a mysterious remote exception with a long server stack trace, with 
the client continuing to retry the failed RPC excessively until exhausting all 
retries (see HBASE-29654 for example). 

We should handle comparison runtime exceptions as non retryable , and propagate 
a clear exception message to the client. 




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to