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 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.
>
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