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

Switch to Threaded View
HBase >> mail # user >> Writing to a region from a Coprocessor


Copy link to this message
-
Re: Writing to a region from a Coprocessor
Hi Sever,

Use the getTable() method of the given coprocessor environment. It gives you access to any table in the cluster.

Lars

On May 27, 2012, at 15:48, Sever <[EMAIL PROTECTED]> wrote:

>
> Hello,
>
> I did not find any clear documentation on this aspect: is it possible to
> write from a co-processor that runs on a certain region server to a region
> that falls within the scope of another region-server? If yes how does this
> happen? Do the region-servers communicate directly?
> A use case might be that while building a secondary index, the region from
> the secondary index table where you have make your Put might fall to another
> region-server.
>
> Thanks in advance for your responses.
> Sever
> --
> View this message in context: http://old.nabble.com/Writing-to-a-region-from-a-Coprocessor-tp33915961p33915961.html
> Sent from the HBase User mailing list archive at Nabble.com.
>