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

Switch to Threaded View
HBase >> mail # user >> Find the tablename in Observer


Copy link to this message
-
Re: Find the tablename in Observer
 void prePut(final ObserverContext<RegionCoprocessorEnvironment> c,

      final Put put, final WALEdit edit, final boolean writeToWAL)
((RegionCoprocessorEnvironment)c.getEnvironment()).getRegion().getRegionInfo().getTableName()

Cheers

On Mon, Jan 28, 2013 at 4:56 PM, Rajgopal Vaithiyanathan <
[EMAIL PROTECTED]> wrote:

> Hi all,
>
> inside the prePut() method, Is there anyway to know the table name for
> which the prePut() is running ?
>
> --
> Thanks and Regards,
> Rajgopal Vaithiyanathan.
>