thanks stack. i upgraded to the RC3 0.20.3.

I was still getting the hanging, so I decided to create a real simple table
to try to see if I can get the logic working:

hbase(main):031:0> scan 'testTable'
ROW                          COLUMN+CELL

 row1                        column=user:REMOTE_ADDR,
timestamp=1264464021672, value=172.16.1.3
 row1                        column=user:theme, timestamp=1264464041857,
value=Frost
 row2                        column=user:theme, timestamp=1264464058064,
value=Sunshine
 row3                        column=user:REMOTE_ADDR,
timestamp=1264464083332, value=172.16.0.06

Without the filter (http://pastebin.com/m20ba0d2d) this is my output
client-side:
IP: 172.16.1.3
Theme: Frost
IP: null
Theme: Sunshine
IP: 172.16.0.06
Theme: null

If I uncomment the setFilter, I get nothing.  I'm expecting to get the first
two lines (row1).  Thus I don't believe my filters are setup correctly, but
I'm unsure where the error would be.

Does anyone have any thoughts or examples?

Thanks!


On Mon, Jan 25, 2010 at 1:45 PM, Stack <[email protected]> wrote:

> Check out the CHANGES in 0.20.2 and even in 0.20.3RC3:
>
> http://svn.apache.org/viewvc/hadoop/hbase/branches/0.20/CHANGES.txt?view=log
> .
>  I believe what your issue fixed.
> St.Ack
>
> On Mon, Jan 25, 2010 at 10:36 AM, Chris Bates
> <[email protected]> wrote:
> > 0.20.1
> >
> > On Mon, Jan 25, 2010 at 1:31 PM, Stack <[email protected]> wrote:
> >
> >> What version of HBase?
> >> St.Ack
> >>
> >> On Sat, Jan 23, 2010 at 7:49 PM, Chris Bates
> >> <[email protected]> wrote:
> >> > Hi all,
> >> >
> >> > I'm trying to do an AND operation and I'm not sure if I did the
> filtering
> >> > correctly because HBase is hanging on me.
> >> >
> >> > What I want is this:
> >> >
> >> > I have two qualifiers, theme and IP, to my column user.  I'd like to
> >> print
> >> > out all matches (or maybe just 10) where the row has both of them in
> it.
> >>  My
> >> > impression is that this is what HBase would excel at, because the
> dataset
> >> is
> >> > VERY sparse, meaning that out of 1000-10,000 rows, maybe just 1 or 2
> will
> >> > have BOTH an IP and a theme in it.  Most of the time its just one or
> the
> >> > other.
> >> >
> >> > So this is my code to make that query, but as I said, its hanging.
> >> > http://pastebin.com/m7fcef49
> >> >
> >> > If I comment out the filters, the query runs just fine and will print
> >> null
> >> > wherever the value is not present.
> >> >
> >>
> >
>

Reply via email to