Re: using composite index for a duplicate check validation

2011-02-22 Thread eric_bdr
Thanks a lot Jean-Daniel, I will try disabling the cache to see if I get a performance improvement. I was not aware of the parallel scan. I will look into that. Thanks, -Eric From: Jean-Daniel Cryans To: user@hbase.apache.org Sent: Wed, February 23, 2011 1

Re: Trying to contact region "Some region"

2011-02-22 Thread Hari Sreekumar
Thanks Ted, any way I can fix this in 0.20.6? How can a single Put refer to two rows? Is there any coding practice with which I can avoid this? This exception is not fatal in the sense that the process still gets completed, I just have a few failed tasks, but this leads to waste of time. Hari On

hbase table creation

2011-02-22 Thread hbase_user
hi, I am new to hbase and hadoop. Any how i have succeeded in setting up a hadoop cluster which consists of 3 machines. Now i need some help on building up the database. I have a table "comments" contains fields 1)user id 2)comments 3)comments on comments(which can be more than one) and a sta

multitenancy solution in hbase

2011-02-22 Thread Hiller, Dean (Contractor)
Well, I am working in gemfire right now(not by choice) but many parallels are the same except my key is not serialized to bytes and I have buckets instead of a sorted map L (very ick there) and I have no indexing library L L, but our multi-tenancy solution is working VERY VERY well and I thought I

Re: using composite index for a duplicate check validation

2011-02-22 Thread Jean-Daniel Cryans
A Get is a random read, so expect it to be slower than let's say a scanner or a random insert (the other calls that are made in your code). Unless you are able to keep all that data in the block cache of the region servers, those calls are going to be expensive. A change that would be very easy to

Re: Disabling a table taking very long time

2011-02-22 Thread Jean-Daniel Cryans
Moving this discussion to jira: https://issues.apache.org/jira/browse/HBASE-3557 Good stuff guys. J-D On Mon, Feb 21, 2011 at 8:25 AM, Hari Sreekumar wrote: > I agree, and I have missed this a lot too. We should have a way to directly > drop the table, it would help save a lot of time while dev

Re: which hadoop and zookeeper version should I use with hbase 0.90.1

2011-02-22 Thread Jean-Daniel Cryans
For Hadoop, from the website's documentation: http://hbase.apache.org/notsoquick.html#hadoop and regarding zookeeper use the one that's ship with HBase. J-D On Tue, Feb 22, 2011 at 2:53 PM, Oleg Ruchovets wrote: > Hi , >  which hadoop and zookeeper version should I use with hbase 0.90.1. > th

Re: ERROR zookeeper.ZKConfig: no clientPort found in zoo.cfg

2011-02-22 Thread Jean-Daniel Cryans
This exception happens when hbase.zookeeper.property.clientPort cannot be found from any file in the classpath (the bit about zoo.cfg is a bit confusing I agree). If you didn't change it, then it should be found in the hbase-default.xml file which is now packaged inside the hbase jar since 0.90.0

which hadoop and zookeeper version should I use with hbase 0.90.1

2011-02-22 Thread Oleg Ruchovets
Hi , which hadoop and zookeeper version should I use with hbase 0.90.1. thanks in advance Oleg.

Re: Not running balancer because processing dead regionserver(s)

2011-02-22 Thread Stack
On Mon, Feb 21, 2011 at 10:04 PM, Yi Liang wrote: > Yes, the server zcl crashed at that time. > > But after I restarted it later, it's still in the dead server list. > We failed processing its death: 2011-02-18 10:08:14,873 ERROR org.apache.hadoop.hbase.HServerAddress: Could not resolve the DNS

Re: RESTServlet instantiation for 0.90.0 under Tomcat

2011-02-22 Thread Stack
Shruti: We discontinued generating WAR file (Andrew asked if anyone was using it back on http://search-hadoop.com/m/9rAIJ149jp2/hbase+war+jar&subj=Stargate+WAR+target). See the issue where we brought the REST server into core and dropped the WAR target: https://issues.apache.org/jira/browse/HBAS

Re: Strange TableExistsException

2011-02-22 Thread Stack
Hello Hari: On disable and enable in 0.20.x HBase, please see http://search-hadoop.com/m/vxWxh2tSLzw/table+disable&subj=Re+Regions+assigned+multiple+times+after+disabling+table Scan your '.META.' table. See if any region entries for the table you tried remove. My guess is that there are still r

Re: HBase 0.90.0 region servers dying

2011-02-22 Thread Stack
Regionservers AND zookeeper nodes dying yet it ran fine on another cluster is a little mysterious, especially when nothing in logs -- system, hbase or zookeeper logs. It sounds like hardware issues but you'd usually see some sort of complaint logged. The processes just go away? St.Ack On Sat, F

Re: HBase 0.90.0 region servers dying

2011-02-22 Thread Jean-Daniel Cryans
Ted asked about the JVM version but I don't think you answered that. In any case, try with u17. J-D On Sat, Feb 19, 2011 at 3:58 AM, Enis Soztutar wrote: > Yes indeed but no luck. > > Enis > > On Fri, Feb 18, 2011 at 11:50 AM, Jean-Daniel Cryans > wrote: >> >> Just to make sure, you did check i

Re: mapreduce streaming with hbase as a source

2011-02-22 Thread Jean-Daniel Cryans
(moving to the hbase user ML) I think streaming used to work correctly in hbase 0.19 since the RowResult class was giving the value (which you had to parse out), but now that Result is made of KeyValue and they don't include the values in toString then I don't see how TableInputFormat could be use

Re: hbase table creation

2011-02-22 Thread Jean-Daniel Cryans
(moving to the user ML) in the shell (bin/hbase shell), type: help "create" And then you will have the help for creating table along with examples. Regarding the actual modeling of your table, putting the userid as the row key (no need for a family) could be a viable option but the rest seems we

Re: Trying to contact region "Some region"

2011-02-22 Thread Ted Yu
The put() call handles more than one row, destined for more than one region server. HConnectionManager wasn't able to find the region server which serves the row, hence the error. Please upgrade to 0.90.1 On Tue, Feb 22, 2011 at 6:27 AM, Hari Sreekumar wrote: > What does this exception signify:

Re: HBase tutorial links.

2011-02-22 Thread Eric
I'm not sure, but I think the topic starter hopes to find more info about actual usage of HBase, beyond the absolute basics. My experience so far is that good examples and tutorials are hard to find. You'll have to dive into the API's if you want to use filters or anything beyond basic usage. 2011

Trying to contact region "Some region"

2011-02-22 Thread Hari Sreekumar
What does this exception signify: org.apache.hadoop.hbase.client.RetriesExhaustedException: Trying to contact region server Some server, retryOnlyOne=true, index=0, islastrow=false, tries=9, numtries=10, i=0, listsize=405, region=NwKeywordTest,20927_57901_277247_8728141,1298383184948 for region Ke

Re: HBase tutorial links.

2011-02-22 Thread Joseph Coleman
Here is a set of good video's to watch they are free http://www.cloudera.com/resources/?type=Training they even offer a free VM download for trying out there product. Also I recommend taking a look at this book http://www.amazon.com/Hadoop-Definitive-Guide-Tom-White/dp/1449389732/ref=s r_1_1?ie=UT

Strange TableExistsException

2011-02-22 Thread Hari Sreekumar
I had a table 'Keyword' a while back which I tried to disable. I tried multiple times but I always got the error "It is taking too long to disable the table". (or something like that.). Anyways, after a while I tried the list command in shell and the table did not show up. So I tried to create it.

HBase tutorial links.

2011-02-22 Thread James Ram
Hi, I am new to HBase. Please suggest some links to learn HBase apart from hbase.apache.org. -- With Regards, Jr.

RESTServlet instantiation for 0.90.0 under Tomcat

2011-02-22 Thread Shruti Krishnagiri
I just hopped on to the HBase boat. I was looking for ways to use the REST servlet within Tomcat and started to look for the Stargate WAR. I don't see that under trunk but only under 0.20. Seems like the REST implementation has changed in this release? I see org.apache.hadoop.hbase.rest.RESTSer