Re: Cmbining PageFilter with other Filters

2010-01-06 Thread Keith Thomas
is applied separately on different region > servers. It does however optimize the scan of individual HRegions by > making > sure that the page size is never exceeded locally." from the javadoc. > > St.Ack > > On Tue, Jan 5, 2010 at 8:18 PM, Keith Thomas > wrote: &

Cmbining PageFilter with other Filters

2010-01-05 Thread Keith Thomas
As I wasn't clear whether PageFilter was intended to be used in a Scan in conjunction with other filters I did a little experimenting. I took a guess - I couldn't find it documented, but maybe it is and I just missed it - and combined my PageFilter with my other filters by creating a FilterList

Re: read Filtered Rows From Secondary Index

2009-12-16 Thread Keith Thomas
Apologies if this reply us not relevant, I'm posting just in case my approach to this problem is useful. I'm using 20.1 and I'm looking to solve this sane problem by applying the filter to a scan on the root table and using the results to create RowFilter instances which I use in a second scan.

Family Lock

2009-11-23 Thread Keith Thomas
Is the a way to just lock a family rather than an entire row? If not, has there ever been a discussion around this idea? The use case I am thinking of is around have de-normalized data, e.g. if a Book has an Publisher then in addition to having a Publisher table containing all publishers I might w

Re: On storing HBase data in AWS S3

2009-10-14 Thread Keith Thomas
A big thanks to everyone who contributed to this post. The discussion above has been very helpful to my efforts in this area. -- View this message in context: http://www.nabble.com/On-storing-HBase-data-in-AWS-S3-tp25794704p25902203.html Sent from the HBase User mailing list archive at Nabble.c

Re: On storing HBase data in AWS S3

2009-10-13 Thread Keith Thomas
I am a complete newbie to the wonderful world of Amazon services so I apologize if I am asking a question that has already been answered. I am looking for the easiest way to bring up an HBase and Hadoop environment as the persistence mechanism for a Grails based web application. I was not entirel

Re: HBase client query

2009-10-08 Thread Keith Thomas
er, but HBase. > > Please note that when you deploy production servers, you'll definitely > need DNS entries for them. > > Thanks, > > -- > Tatsuya Kawano (Mr.) > Tokyo, Japan > > > On Fri, Oct 9, 2009 at 8:46 AM, Keith Thomas > wrote: >> >>

Re: HBase client query

2009-10-08 Thread Keith Thomas
stead of > running it inside a VM you should run it directly in OSX... unless > there's a particular reason why you want to maintain a VM. > > J-D > > On Thu, Oct 8, 2009 at 7:46 PM, Keith Thomas > wrote: >> >> Thank you Barney Frank, your detailed notes wer

Re: HBase client query

2009-10-08 Thread Keith Thomas
Thank you Barney Frank, your detailed notes were very helpful in confirming I was doing things correctly already on the client. I did a lot of tracing through the HBase code and concluded that the problem lay with my server. It looks like 0.20.0 has all sorts of DNS config entries and by defaul

Re: HBase client query

2009-10-07 Thread Keith Thomas
All, sorry to bring this post back to life but I am still stuck :( If anyone has some example 0.20.0 configurations and code they could share with me regards to running a Java client on a different machine to HBase and Hadoop that would be brilliant :) Many thanks. -- View this message in con

Re: HBase client query

2009-10-05 Thread Keith Thomas
Thanks J-D, Apologies for not including the HBase version details, you are correct I am using 0.20.0. I made the recommended change so that my code now looks like this, this.hbConfig = new HBaseConfiguration(); this.hbConfig.set("hbase.zookeeper.qu

HBase client query

2009-10-05 Thread Keith Thomas
Hi, I am trying to move my HBase client application from, - a Ubuntu Virtual Machine running HBase in pseudo distributed mode with default configuration settings, to, - the OS X machine hosting the Ubuntu Virtual Machine running HBase Based upon other Nabble threads I have inserted a set() lin

HBase plug-in for Grails

2009-10-02 Thread Keith Thomas
A glimpse of a small project I plan to release very soon, http://gallery.mac.com/keiththomas#10 The Groovy & Grails high-ups seem to have already picked up on this, so it should be fun to see where this leads. Enjoy! -- View this message in context: http://www.nabble.com/HBase-plug-in

Best-practice/design query for storing a list/array of values

2009-09-22 Thread Keith Thomas
I have a family which contains an array, or list, of values. I don't mind whether it is an array or a list or even an arraylist :) At the moment I have gone down the quick and dirty route of serializing my list into one column. While functionally this works sufficiently well to allow me to keep

Re: Row lock issues with Indexed Tables

2009-09-15 Thread Keith Thomas
ate > a JIRA for it and attach your patch. > > cheers, > -clint > > On Mon, Sep 14, 2009 at 12:52 PM, Keith Thomas > wrote: > >> >> Apologies for the long post but being an HBase newbie I'd like a sanity >> check >> from wiser, more experie

Row lock issues with Indexed Tables

2009-09-14 Thread Keith Thomas
Apologies for the long post but being an HBase newbie I'd like a sanity check from wiser, more experienced folks with regards to my findings, and how I've fixed the issue I think I've found, before going down the path of submitting a formal patch. To re-create the problem I was seeing in my app I

Re: Possible to set the results' sort method?

2009-09-10 Thread Keith Thomas
> It will allow you to get a scanner whose results are ordered by a column's > values (If you have an index on that column). > > -clint > > On Thu, Sep 10, 2009 at 5:49 AM, Keith Thomas > wrote: > >> >> >> >> stack-3 wrote: >> > >

Re: Possible to set the results' sort method?

2009-09-10 Thread Keith Thomas
stack-3 wrote: > > On Wed, Sep 9, 2009 at 7:52 PM, Keith Thomas > wrote: > >> >> I think I'm looking at the same problem with HBase as Dingding Ye. I need >> to >> be able to retrieve a list of rows sorted by data in a column and I'm not &

Re: Possible to set the results' sort method?

2009-09-09 Thread Keith Thomas
I think I'm looking at the same problem with HBase as Dingding Ye. I need to be able to retrieve a list of rows sorted by data in a column and I'm not sure how to go about it without resorting to performing the sort on the client which feels like I'm just giving up. My current thinking is to crea

Re: Mapreduce dameons?

2009-09-09 Thread Keith Thomas
That was the perfect test, I'm up and working nicely. Many thanks. stack-3 wrote: > > On Tue, Sep 8, 2009 at 1:33 PM, Keith Thomas > wrote: > >> >> I guess if I have to run both HBase and Hadoop in at least pseudo >> distributed mode then I need to reconsid

Re: Mapreduce dameons?

2009-09-08 Thread Keith Thomas
ndeep Khurana > Computer Science Graduate Student > University of California, Santa Cruz > > > On Tue, Sep 8, 2009 at 12:52 PM, Keith Thomas > wrote: > >> >> I have had a great time working through the awesome Hbase 0.20.0 client >> api >> as I write

Mapreduce dameons?

2009-09-08 Thread Keith Thomas
I have had a great time working through the awesome Hbase 0.20.0 client api as I write my first web app with data persisted by HBase on HDFS. However the time has come to write my first map/reduce job for use by the web app. Until now I've been starting HBase with 'start-hbase.sh' but I see that

Re: Request for example use of incrementColumnValue() with Put

2009-09-02 Thread Keith Thomas
Thanks you for such a quick reply. I am afraid the link you sent me just took me to the top of the HTable Javadoc page and so I am not clear which method exactly you are referring to. Apologies if I have missed the point somewhere. stack-3 wrote: > > On Wed, Sep 2, 2009 at 4:11 PM,

Request for example use of incrementColumnValue() with Put

2009-09-02 Thread Keith Thomas
The application I am building against HBase has a need for simple numeric keys, the key for the first row inserted into a table should be 1, the second row 2, etc. I am working on HBase 0.20 RC1 using this excellent example as my template, http://people.apache.org/~stack/hbase-0.20.0-candidat