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
Oh sorry...
Not checked the interface...  We were doing in postOpen()...
Thaks Gary for correcting me...:)


From: Gary Helmling [[EMAIL PROTECTED]]
Sent: Tuesday, January 29, 2013 11:29 AM
Subject: Re: Find the tablename in Observer

> >Will the CoprocessorEnvironment reference in the  start() method be
> instanceof RegionCoprocessorEnvironment too
> No. It will be reference of RegionEnvironment . This is not a public class
> so you wont be able to do the casting.

Since RegionEnvionment implements RegionCoprocessorEnvironment, you should
be able to do:


within your start() method without a problem.