Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
HBase >> mail # user >> Hbase 0.92 Example


+
Dalia Sobhy 2012-10-14, 19:44
+
anil gupta 2012-10-14, 20:04
+
Dalia Sobhy 2012-10-14, 20:10
Copy link to this message
-
Re: Hbase 0.92 Example
Hi Dalia,

On the client-side you dont need to use that method directly. Instead, use
the following method :
org.apache.hadoop.hbase.client.coprocessor.AggregationClient.sum(byte[]
tableName,
ColumnInterpreter<http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html><R,S>
ci,
Scan<http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/Scan.html>
 scan)

Here is the documention for that class:
http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html

Have a look at the JUnit for this co-processor for better understanding.

HTH,
Anil

On Sun, Oct 14, 2012 at 3:10 PM, Dalia Sobhy <[EMAIL PROTECTED]>wrote:

> Method in AggregateImplementation class.
>
>
>
> On 2012-10-14, at 10:05 PM, "anil gupta" <[EMAIL PROTECTED]> wrote:
>
> > Hi Dalia,
> >
> > Which getSum() method are you talking about? Please be specific.
> >
> > Thanks,
> > Anil Gupta
> >
> > On Sun, Oct 14, 2012 at 2:44 PM, Dalia Sobhy <[EMAIL PROTECTED]
> >wrote:
> >
> >> Could anyone provide me with an example on hbase 0.92 on getSum()
> >> function, bec i am unable to implement it.
> >>
> >> Thanks
> >
> >
> > --
> > Thanks & Regards,
> > Anil Gupta
>

--
Thanks & Regards,
Anil Gupta
+
Dalia Sobhy 2012-10-14, 20:39
+
anil gupta 2012-10-14, 22:02
+
Dalia Sobhy 2012-10-15, 09:11
+
anil gupta 2012-10-15, 15:48
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB