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

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


+
Rajgopal Vaithiyanathan 2013-01-29, 00:56
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.
>
+
Rajgopal Vaithiyanathan 2013-01-29, 01:16
+
Rajgopal Vaithiyanathan 2013-01-29, 01:21
+
Ted Yu 2013-01-29, 01:25
+
Anoop Sam John 2013-01-29, 04:39
+
Gary Helmling 2013-01-29, 05:59
+
Anoop Sam John 2013-01-29, 06:04