> > > 3. Is there a way I can get more than one version of a row via stargate > ? I tried the url with "?v=2" in the end, but it did not work. >
I'm sure there is. Does the doc not say how? The schema for your table had versions > 3, right? (Default is 3). If schema was set to return 1 version only then you'd only ever be able to fetch 1. Did you put in more than one version of that cell? Check by using the shell. $ ./bin/hbase shell >>> I did make sure that I have more than version. In fact, I can get the older >>> version by setting an older timestamp, but my aim is to know how many >>> copies I have of a particular version and at what timestamp (in non-unix >>> format), max I can have is 500 versions according to table schema. I looked >>> at stargate-Hbase wiki which says, give the number of versions like "?v=5" >>> in the end of the url, but that has not been working for me. I am sure it's >>> just a syntax issue - was wondering if anyone else has used it. -Avani -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Stack Sent: Saturday, August 28, 2010 11:09 AM To: [email protected] Subject: Re: regionserver skew On Fri, Aug 27, 2010 at 6:28 PM, Sharma, Avani <[email protected]> wrote: > I have a few questions related to reading from hbase - > > > > 1. How can I detect a regionserver skew. In other words, one > regionserver is being hit more than the others ? > > When I look at the master log, it states > "org.apache.hadoop.hbase.master.ServerManager: 3 region servers, 0 dead, > average load 23.666666666666668" > > Does that mean that the load is balanced? And in case it is not, do I need to > redesign or reload my Hbase table ? any other options ? > What Ted said and no you do not need to balance regions; hbase does that for you. > > 2. Is it okay to have stargate running on more than one node in the > cluster? I am using stargate and libcurl to read from Hbase and to speed this > up, may be hitting different stargate servers could help ? Any cons to this? > You can do that, yes. Only con is resources consumed on server its running on (Shouldn't be much). > > > 3. Is there a way I can get more than one version of a row via stargate > ? I tried the url with "?v=2" in the end, but it did not work. > I'm sure there is. Does the doc not say how? The schema for your table had versions > 3, right? (Default is 3). If schema was set to return 1 version only then you'd only ever be able to fetch 1. Did you put in more than one version of that cell? Check by using the shell. $ ./bin/hbase shelll St.Ack
