hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edward Capriolo <edlinuxg...@gmail.com>
Subject Re: Scanner API Question
Date Tue, 08 Dec 2009 04:53:37 GMT
On Mon, Dec 7, 2009 at 6:18 PM, Erik Holstad <erikholstad@gmail.com> wrote:
> Hey Edward!
>
> s.addColumn( Bytes.toBytes("anchor"), Bytes.toBytes("anchor")  );
> this looks for "anchor:anchor", which I don't see
>
> s.addColumn( Bytes.toBytes("anchor"), Bytes.toBytes("anchor:Alverta Angstrom
> cathodegraph")  );
> this looks for "anchor:anchor:Alverta Angstrom cathodegraph" which I don't
> see
>
> s.addColumn( Bytes.toBytes("anchor"), Bytes.toBytes("Alverta Angstrom
> cathodegraph")  );
> this looks for "anchor:Alverta Angstrom cathodegraph", this should work, not
> sure why it isn't
> would recommend to check the KeyValue being returned from the family scan
> and compare it
> to what you are adding to your scanner, might be some weirdness with the
> spaces.
>
> Regards Erik
>

Doh! Correct. Trailing white space for the insert. HBase is now the
most recent medium for me to make this mistake!

Thanks

Mime
View raw message