Thanks Ram, will try that.
Thanks
Tian-Ying
From: ramkrishna vasudevan [ramkrishna.s.vasude...@gmail.com]
Sent: Thursday, May 16, 2013 8:49 PM
To: user@hbase.apache.org
Subject: Re: NullPointerException while loading large amount of new rows into
HBase,
Which version of HBase?
Regards
Ram
On Thu, May 16, 2013 at 10:42 PM, Tianying Chang tich...@ebaysf.com wrote:
Hi,
When our customers(using TSDB) loads large amount of data into HBase, we
saw many NullPointerException in the RS logs as below. I checked the source
code, it seems when
Are you trying to get the row lock explicitly ? Using HTable.lockRow?
Regards
Ram
On Thu, May 16, 2013 at 10:46 PM, ramkrishna vasudevan
ramkrishna.s.vasude...@gmail.com wrote:
Which version of HBase?
Regards
Ram
On Thu, May 16, 2013 at 10:42 PM, Tianying Chang
it is HBase 0.92. The customer is using TSDB and AsyncHBase. I am not sure what
their client code is calling exactly. But from the calling stack, it feels it
use HTable.lockRow. Is this not recommended? If so, what should they use
instead?
Thanks
Tian-Ying
FYI, below I quoted the customers' response after I explained the NULLException
is caused by the row lock. So my question is if this is allowed situation for
multiple threads/process to compete for the lock, the one who did not get
should be considered normal and not throwing
The lockRow and unlockRow have been replaced by checkAndXXX and increment()
apis so that any operation on a particular row can be done automically.
Am not sure of the use case that you are addressing here but i recommend
taking a look at these apis if they solve the problem for you.
RowLocks are