RegionServerServices is made available to RegionObserver coprocessors via
RegionCoprocessorEnvironment.  The intent was to allow coprocessors to have
limited access to the region server in context.  The same is true for
MasterServices, which is made available to MasterObserver cps.

The AccessController coprocessor makes use of both.  Do you think
coprocessors should access ZK and the .META. table in a different way?
 Let's discuss, otherwise, please do not remove them.


On Wed, Mar 23, 2011 at 9:07 PM, Stack <[email protected]> wrote:

> It doesn't look like these additions are actually used so I made
> https://issues.apache.org/jira/browse/HBASE-3698.  If I get a +1, I'll
> commit.
>
> Thanks,
> St.Ack
>
> On Wed, Mar 23, 2011 at 8:44 PM, Stack <[email protected]> wrote:
> > It looks like hbase-2001 added some overlap between the Server and
> > RegionServerServices Interfaces.  Here's the commit that added it:
> >
> > commit c1dd72441d376e62615a0ec92f09515521ccb99b
> > Author: Andrew Kyle Purtell <[email protected]>
> > Date:   Sat Nov 20 01:23:39 2010 +0000
> >
> >    HBASE-2001 Coprocessors: Colocate user code with regions
> >
> >    git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1037102
> > 13f79535-47bb-0310-9956-ffa450edef68
> >
> > Is the overlap really necessary?  At a minimum it looks untidy.
> > Beyond that, it makes mocking a little bit more painful.
> >
> > What ye reckon?
> >
> > St.Ack
> >
>

Reply via email to