use thrift2 to access hbase 0.96.10, if I try increment, and disable the table, the code can not throw useful Exception

2015-02-27 Thread 不再散步
for example: 1. I use thrift2 put to access table, try{ _client-putMultiple(table, tput_vec); //table is 'member' } catch (TTransportException e) { ret = e.getType(); //2 or 3 g_logger.warn([%s:%d] [%s] [PUT] TTransportException fail: %s:%d,

Re: Why I can not subscribe the maillist?

2015-02-27 Thread 郝东
Hi, Ted I have checked my spam folder. There is no mail too. Now I can only send mail to user@hbase.apache.org, but can not receive any mail from the maillist and also can not reply to the mail directly. I succeeded in subscribing to u...@hadoop.apache.org and can receive mails from the

Why I can not subscribe the maillist?

2015-02-27 Thread 郝东
Hi, I am Donhoff. I tried a few times to send mail to user-subscr...@hbase.apache.org to subscribe the hbase maillist. But there is no any return message and I could not receive any mail from the maillist. Could anybody help me ? Thanks!

Re: use thrift2 to access hbase 0.96.10, if I try increment, and disable the table, the code can not throw useful Exception

2015-02-27 Thread Ted Yu
bq. to access hbase 0.96.10 To my knowledge, there wasn't 0.96.10 release. Can you clarify the release you're using ? Looking at ./hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftHBaseServiceHandler.java (in 0.98 branch): public TResult increment(ByteBuffer table, TIncrement

回复: use thrift2 to access hbase 0.96.10, if I try increment, anddisable the table, the code can not throw useful Exception

2015-02-27 Thread 不再散步
sorry, my hbase is 0.96.1.1 hbase(main):017:0 version 0.96.1.1-hadoop2, rUnknown, Tue Dec 17 12:22:12 PST 2013‍ thrift version is 0.9.0 And, I set timeout 5s on TSocket: 32 try{ 33 boost::shared_ptrTSocket socket(new TSocket(_thrift_ip, _thrift_port)); 34

回复: use thrift2 to access hbase 0.96.10, if I try increment, anddisable the table, the code can not throw useful Exception

2015-02-27 Thread 不再散步
AHHT means namespace apache::hadoop::hbase::thrift2;‍ namespace AHHT = apache::hadoop::hbase::thrift2;‍ -- 原始邮件 -- 发件人: 609378334;609378...@qq.com; 发送时间: 2015年2月28日(星期六) 上午10:59 收件人: useruser@hbase.apache.org; 主题: 回复: use thrift2 to access hbase 0.96.10, if I

Re: Why I can not subscribe the maillist?

2015-02-27 Thread Ted Yu
Have you checked your Spam folder ? Cheers On Feb 27, 2015, at 6:01 PM, 郝东 donhof...@163.com wrote: Hi, I am Donhoff. I tried a few times to send mail to user-subscr...@hbase.apache.org to subscribe the hbase maillist. But there is no any return message and I could not receive any

Re: Questions about BucketCache

2015-02-27 Thread Stack
On Fri, Feb 27, 2015 at 1:25 AM, 郝东 donhof...@163.com wrote: Hi, I am learning BucketCache with HBase0.98 and have a few questions about it. Could anyone help me ? 1.Since this kind of Cache divides the memory into many buckets, what is the default size of a Bucket? And how to config the

Questions about BucketCache

2015-02-27 Thread 郝东
Hi, I am learning BucketCache with HBase0.98 and have a few questions about it. Could anyone help me ? 1.Since this kind of Cache divides the memory into many buckets, what is the default size of a Bucket? And how to config the size of a Bucket ? 2.How to config the total size of the

Re: oldWALs: what it is and how can I clean it?

2015-02-27 Thread Liam Slusser
Once I disable/remove the replication, can I just blow away the oldWALs folder safely? On Fri, Feb 27, 2015 at 3:10 AM, Madeleine Piffaretti mpiffare...@powerspace.com wrote: Thanks a lot! Indeed, we had a replication enable in the past because we used the hbase-indexer from NgData (use to

Re: oldWALs: what it is and how can I clean it?

2015-02-27 Thread Nick Dimiduk
I would let the cleaner chore handle the cleanup for you. You don't know the state of all entries in that folder. To that extent, I'd avoid making any direct changes to the content of HBase's working directory, especially while HBase is running... On Fri, Feb 27, 2015 at 1:29 PM, Liam Slusser

Re: HBase connection pool

2015-02-27 Thread Serega Sheypak
Did you check how many open connections each ZK server has? I my hypothesis is that you have ZK connection leaking and ZK server starts to drop connection to prevent DDoS attack since you hit limit for opened connections. 2015-02-26 22:15 GMT+03:00 Nick Dimiduk ndimi...@gmail.com: Can you tell

Re: oldWALs: what it is and how can I clean it?

2015-02-27 Thread Madeleine Piffaretti
Thanks a lot! Indeed, we had a replication enable in the past because we used the hbase-indexer from NgData (use to replicate data from Hbase to Solr). The replication was disable from a long time but the hbase-indexer peer was still activated and so, as you mentioned, the data was keept to

Re: HBase connection pool

2015-02-27 Thread Marcelo Valle (BLOOMBERG/ LONDON)
But then wouldn't it happen when I had 1 Configuration per thread? I had more connections before start using 1 HConnection for the whole app, and it use to work fine. From: user@hbase.apache.org Subject: Re: HBase connection pool Did you check how many open connections each ZK server has? I

Re: HBase connection pool

2015-02-27 Thread Marcelo Valle (BLOOMBERG/ LONDON)
I can't know for sure, but I think it's related to the HTable instances... I create just 1 HConnection and 1 HTable object per thread. I have run this with 32 threads. From: user@hbase.apache.org Subject: Re: HBase connection pool Can you tell when these WARN messages are produced? Is it

Re: HBase connection pool

2015-02-27 Thread Serega Sheypak
Create one HConnection for all threads and then share it. Create HTable in each tread using HConnection. Do stuff. Close HTable, DO NOT close HConnection. It works 100% I did have pretty the same problem. Group helped me to resolve it the way I suggest you. 2015-02-27 13:23 GMT+03:00 Marcelo

Re: HBase scan time range, inconsistency

2015-02-27 Thread ramkrishna vasudevan
In your case since the TTL is set to the max and you have a timeRange in your scan it would go with the first case. Every time it would try to fetch only one version ( the latest) for the given record but if the time Range is not falling in the latest then it would skip those cells. But my doubt