Re: HBase column wide scanning and fetching

2011-04-25 Thread Stack
On Sun, Apr 24, 2011 at 8:22 PM, Gan, Xiyun wrote: > It works for java code, but I'm writing php scripts using thrift gateway. > What is the solution? > Hack what you need into thrift idl and regen your php bindings. Thanks, St.Ack

Re: HBase column wide scanning and fetching

2011-04-24 Thread Gan, Xiyun
It works for java code, but I'm writing php scripts using thrift gateway. What is the solution? Thanks On Thu, Apr 21, 2011 at 1:27 AM, Stack wrote: > On Wed, Apr 20, 2011 at 5:23 AM, Gan, Xiyun wrote: > > when use scan feature, i would fetch 1 row every time inside iterator, > what > > if the

Re: HBase column wide scanning and fetching

2011-04-20 Thread Stack
On Wed, Apr 20, 2011 at 5:23 AM, Gan, Xiyun wrote: > when use scan feature, i would fetch 1 row every time inside iterator, what > if the column qualifier reach millions entries. how do you loop through > that, and will there be a cache issue? > You do in-row scan. You set an upper bound on how

HBase column wide scanning and fetching

2011-04-20 Thread Gan, Xiyun
My problem is as the following: http://stackoverflow.com/questions/4790029/hbase-column-wide-scanning-and-fetching Let's say i've created a table rowkey (attrId+attr_value) //compound key column => doc:doc1, doc:doc2, ...[the qualifier is variable, which depends on the value]