You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Nick Dimiduk (Jira)" <ji...@apache.org> on 2019/12/16 22:35:00 UTC

[jira] [Updated] (HBASE-23583) FilterList implementations lack `parseFrom`

     [ https://issues.apache.org/jira/browse/HBASE-23583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Dimiduk updated HBASE-23583:
---------------------------------
    Affects Version/s: 2.2.3

I've stumbled into this on the tip if branch-2.2. It's probably been this way for quite some time.

> FilterList implementations lack `parseFrom`
> -------------------------------------------
>
>                 Key: HBASE-23583
>                 URL: https://issues.apache.org/jira/browse/HBASE-23583
>             Project: HBase
>          Issue Type: Bug
>          Components: Client, Filters
>    Affects Versions: 2.2.3
>            Reporter: Nick Dimiduk
>            Priority: Major
>
> Trying to make use of {{FilterListWithAND}}, I get a nasty stack trace that ends in
> {noformat}
> Caused by: org.apache.hadoop.hbase.exceptions.DeserializationException: parseFrom called on base Filter, but should be called on derived type
>         at org.apache.hadoop.hbase.filter.Filter.parseFrom(Filter.java:304)
>         ... 13 more
>         at org.apache.hadoop.hbase.master.webapp.MetaBrowser$ResultConsumer.onError(MetaBrowser.java:312)
>         at org.apache.hadoop.hbase.client.AsyncTableImpl.scan0(AsyncTableImpl.java:191)
>         at org.apache.hadoop.hbase.client.AsyncTableImpl.lambda$scan$0(AsyncTableImpl.java:197)
> {noformat}
> Same thing happens with {{FilterListWithOR}}. It appears as if their implementations were not finished during the port over to protobuf. Sadly, I find no tests for these classes.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)