RE: Question

2012-11-11 Thread Dalia Sobhy
Thanks Ted :D But can anyone explain to me this sentence: ColumnInterpreterT, S ci How to set a ColumnInterpreter ?? What is T and Whats S? I want to perform average on an Aggregationclient, so could anyone provide me with a sample code? Also if i want to count the number of rows which has

Re: Scan performance on compressed column families

2012-11-11 Thread David Koch
Hello Oliver, Thank you for the clarification. As Kevin also pointed out, I guess we will just have to test compression in our environment. Regards, /David On Fri, Nov 9, 2012 at 8:46 PM, Oliver Meyn (GBIF) om...@gbif.org wrote: Hi David, I wrote that blog post and I know that Lars George

RE: Question

2012-11-11 Thread Dalia Sobhy
Hi Ted, I am using hbase 0.92.1 When I tried the following code I got errors: AggregateProtocol agg; long rowcount = agg.getRowNum(ColumnInterpreterstring, int, scan); double sum = aggregationClient.avg(TABLE_NAME, ci, scan); even though I tried it with String (s in capital) same

Re: Question

2012-11-11 Thread yuzhihong
What error did you get ? Please use pastebin to share. Thanks On Nov 11, 2012, at 11:42 AM, Dalia Sobhy dalia.mohso...@hotmail.com wrote: Hi Ted, I am using hbase 0.92.1 When I tried the following code I got errors: AggregateProtocol agg; long rowcount =

Re: scan filtering column familly return wrong cell

2012-11-11 Thread Varun Sharma
I have not look at this in detail but does this eventually use the ColumnCountGetFilter - if yes, then this will actually also include upto one older version since filters run before version tracking - see JIRA https://issues.apache.org/jira/browse/HBASE-5257 which has a fix - Remember that

Re: How to monitor total disk access in HBase?

2012-11-11 Thread Stack
On Sat, Nov 10, 2012 at 7:03 AM, yun peng pengyunm...@gmail.com wrote: Hi, I want to profile the # of disk access (both random and sequential) issued from HBase (into HDFS). For disk reads, I have tried use blockCacheMissCount, which seems working. But is it the correct way for reads (I can't