Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-23583

FilterList implementations lack `parseFrom`

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 2.2.3
    • Fix Version/s: None
    • Component/s: Client, Filters
    • Labels:
      None

      Description

      Trying to make use of FilterListWithAND, I get a nasty stack trace that ends in

      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)
      

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ndimiduk Nick Dimiduk
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: