Is there any way to batch conditional mutations

2019-09-09 Thread Cosmin Lehene
Hi,  I'm trying to figure out if I can do any of the following: * checkAndMutate with more than one condition (e.g. OR) * have multiple checkAndMutate operations batched in order to benefit from the rowlock. Thank you, Cosmin Sent via Superhuman ( https://sprh.mn/?vip=cleh...@gmail.com )

Re: How to find versions 0.95 through 1.3 of the HBase reference (book)?

2016-03-03 Thread Cosmin Lehene
contents of the master branch version of the book (what you see on the site). Is there something in particular you're looking for? On Wed, Mar 2, 2016 at 6:00 PM, Cosmin Lehene <cleh...@adobe.com> wrote: > I'm able to get 0.94 and 2.0.0 version of the book on hbase.apache.org > >

How to find versions 0.95 through 1.3 of the HBase reference (book)?

2016-03-02 Thread Cosmin Lehene
I'm able to get 0.94 and 2.0.0 version of the book on hbase.apache.org The 0.94 link is https://hbase.apache.org/0.94/book.html, but changing the version in the URL to https://hbase.apache.org/0.98/book.html doesn't seem to work. Am I missing

Re: HBase connection refused

2012-04-09 Thread Cosmin Lehene
It looks like HBase can't connect to the Hadoop NameNode. Check that the NameNode is running http://localhost:50070/dfshealth.jsp and see the port that it's running on 192.168.15.20:54310 (The hdfs-site.xml configuration file has the fs.default.name property that specifies the interface and port

Re: hbase won't startup after ipaddress change

2012-01-27 Thread Cosmin Lehene
IIRC when it starts it will start looking for the cached IPs which timeout and it's going to retry 3 times with 60 seconds or so for each region. Eventually if you start it again it should start. On 1/21/12 7:44 AM, Harsh J ha...@cloudera.com wrote: What error do you run into specifically? Do

Re: Query on analyze big data with Hbase

2011-11-16 Thread Cosmin Lehene
You should consider looking over the available HBase resources There's an online book http://hbase.apache.org/book.html And there's Lars George's book from O'Reilly (http://shop.oreilly.com/product/0636920014348.do) On 11/16/11 6:39 AM, Stuti Awasthi stutiawas...@hcl.com wrote: Hi all, I have

Re: connection loss for /hbase

2011-06-04 Thread Cosmin Lehene
Hi Geoff, The default number of connections in ZK is 10 I believe. You don't need 32K for 100 mappers. But it would help to increase that. Here's my answer for a related problem http://stackoverflow.com/questions/6153560/hbase-client-connectionloss-for-hbase-error/ I'm not sure how HBase

Re: Does Hadoop 0.20.2 and HBase 0.90.3 compatible ??

2011-06-03 Thread Cosmin Lehene
Also I think we should make it more clear (on the front page) that HBase requires the append branch and provide a link to that as well. Cosmin On Jun 3, 2011, at 3:23 PM, Brian Bockelman wrote: A meta-comment here (triggered by Praveenesh's comments about not wanting to re-install): If

Re: I lost the table '.META.' ,could I restore the other tables by files of hdfs

2011-03-30 Thread Cosmin Lehene
: Not supported yet (IOError) My HBase's version is 0.20.6 and HDFS version is 0.20.2. On Wed, Mar 30, 2011 at 3:15 PM, Cosmin Lehene cleh...@adobe.commailto:cleh...@adobe.com wrote: Hi Jiajun, There's a script in hbase/bin to add a table: you can run bin/hbase org.jruby.Main bin/add_table.rb Also

Re: I lost the table '.META.' ,could I restore the other tables by files of hdfs

2011-03-30 Thread Cosmin Lehene
Also 0.20 is very old. You should upgrade to 0.90 asap ;) Cosmin On Mar 30, 2011, at 12:19 PM, Cosmin Lehene wrote: Yep, Just checked out 0.20 and tried it. Look into add_table.rb # Get table name tableName = nil if ARGV.size 1 tableName = ARGV[1] raise IOError.new

Re: using date as key

2011-03-28 Thread Cosmin Lehene
Lior, If you already know the key distribution you can create all the regions in advance. Are you inserting a single day or multiple days? 5X is a good improvement. Here are some more hints: Hadoop does a sort of the reduce keys before the actual reduce phase. This means that if your keys

Re: HBase not scaling well

2010-10-29 Thread Cosmin Lehene
Hi Hari, Could you do some realtime monitoring (htop, iptraf, iostat) and report the results? Also you could add some timers to the map-reduce operations: measure average operations times to figure out what's taking so long. Cosmin On Oct 29, 2010, at 9:55 AM, Hari Shankar wrote: Hi,

Re: High OS Load Numbers when idle

2010-08-18 Thread Cosmin Lehene
George, Did you try to monitor the CPU in real-time to see any patterns? Does it do any CPU spikes? Even so, the load averages should be matched against the number of cores/hyper threads. How many cores do you see in top? (I personally prefer htop to get a cluster overview in realtime). If

Re: transactional hbase

2010-07-16 Thread Cosmin Lehene
Hi, HBase supports row-level atomic operations. If you need to update more than a row in a single transaction you'll have to use a coordination mechanism. You can use Zookeeper for that. However you can also evaluate whether you can't use a single table for your operation by taking

Re: Row level locking?

2010-07-16 Thread Cosmin Lehene
Currently a row is part of a region and there's a single region server serving that region at a particular moment. So when that row is updated a lock is acquired for that row until the actual data is updated in memory (note that a put will be written to cache on the region server and also