Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # user - Co-Processor in scanning the HBase's Table


Copy link to this message
-
RE: Co-Processor in scanning the HBase's Table
Anoop Sam John 2013-02-18, 04:15
>I wanna use a custom code after scanning a large table and prefer to run
the code after scanning each region

Exactly at what point you want to run your custom code?  We have hooks at points like opening a scanner at a region, closing scanner at a region, calling next (pre/post) etc

-Anoop-
________________________________________
From: Farrokh Shahriari [[EMAIL PROTECTED]]
Sent: Monday, February 18, 2013 12:21 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Co-Processor in scanning the HBase's Table

Hi there
I wanna use a custom code after scanning a large table and prefer to run
the code after scanning each region.I know that I should use
co-processor,but don't know which of Observer,Endpoint or both of them I
should use ? Is there any simple example of them ?

Tnx