Ninad, There is no index apart from the primary key so you are right, out of the box HBase doesn't directly provide such a facility. You can either index your table by hand using preferably a MapReduce job or use the BuildTableIndex provided in mapred. See http://hadoop.apache.org/hbase/docs/r0.19.1/api/org/apache/hadoop/hbase/mapred/BuildTableIndex.html
J-D On Tue, Apr 21, 2009 at 5:04 AM, Ninad Raut <[email protected]> wrote: > Suppose I have a Column Family called Status: which holds status > value. If I want to find how many values are there which have > Status=UNANALYSED I cannot do so using hbase shell.. is there any > other way??? > > On 4/21/09, Billy Pearson <[email protected]> wrote: >> there is multi ways to query hbase there's >> hbase shell >> thrift >> rest >> java api >> and I thank a few more. >> >> The easiest with out having to write code or anything would be hbase shell >> if just wanting to check manually if something is there or the value of it. >> >> Billy >> >> "Ninad Raut" <[email protected]> >> wrote in message >> news:[email protected]... >>> Hi, >>> >>> As there is no easy way to query HBase, can pig be used to query HBase >>> tables? >>> If so, can any one give me an example as to how to use it.... >>> >>> >>> Regards, >>> Ninad. >>> >> >> >> >
