A confusion of RegionCoprocessorEnvironment.getReion() method

2012-04-10 Thread yonghu
Hello, The description of this method is /** @return the region associated with this coprocessor */ and the return value is an HRegion instance. If I configure the region-coprocessor class in hbase-site.xml. It means that this coprocessor will be applied to every HRegion which resides on this

Re: A confusion of RegionCoprocessorEnvironment.getReion() method

2012-04-10 Thread yonghu
Thanks for your explanation. Now it's clear for me. Regards! Yong On Tue, Apr 10, 2012 at 6:13 PM, Gary Helmling ghelml...@gmail.com wrote: Each and every HRegion on a given region server will have it's own distinct instance of your configured RegionObserver class.