hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: ValueFilter returning earlier values
Date Thu, 20 Apr 2017 17:24:11 GMT
The JIRA number is HBASE-17125

On Thu, Apr 20, 2017 at 6:40 AM, Anoop John <anoop.hbase@gmail.com> wrote:

> This is because of the way with which filters and versions are checked
> in RS.  We first do filter op and then apply version. The value filter
> might have filtered out latest cell but it is applied and succeed on
> older version and then only the version count begin..  There is an
> open issue in HBase jira which aims at solving this unexpected
> behavior.
>
> -Anoop-
>
> On Thu, Apr 20, 2017 at 1:04 PM, Sreeram <sreeram.v@gmail.com> wrote:
> > Hi,
> >
> >  When I scan with ValueFilter on a column, I see that it returns older
> > versions too if they happen to match the value in the ValueFilter.
> >
> > The table column family has the property VERSIONS set to 1. I had set
> > setMaxVersions to 1 in the scan object.
> >
> > I was expecting the value filter to return only the latest values for
> > the column, provided they match the filter.
> >
> > Is this the expected behaviour of ValueFilter? Any suggestions if I
> > must be setting any options to skip the older values from coming in
> > the result?
> >
> > Thank you
> >
> > Regards,
> > Sreeram
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message