Re: hbase-2001 added getZooKeeperWatcher and getCatalogTracker to RegionServerServices but these two methods are in Server

2011-03-23 Thread Gary Helmling
> > Seems odd that a CP, a region-scoped thing, would want to make use of > the catalogtracker and/or zk? > > With AccessController we found a need to coordinate some state (ACL permissions) across all region CP instances. Seems pretty likely that other implementors will run into a similar need.

Re: hbase-2001 added getZooKeeperWatcher and getCatalogTracker to RegionServerServices but these two methods are in Server

2011-03-23 Thread Stack
On Wed, Mar 23, 2011 at 9:26 PM, Gary Helmling wrote: > 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,

Re: hbase-2001 added getZooKeeperWatcher and getCatalogTracker to RegionServerServices but these two methods are in Server

2011-03-23 Thread Gary Helmling
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 AccessContr

Re: hbase-2001 added getZooKeeperWatcher and getCatalogTracker to RegionServerServices but these two methods are in Server

2011-03-23 Thread Andrew Purtell
er and getCatalogTracker to > RegionServerServices but these two methods are in Server > To: "HBase Dev List" > Date: Wednesday, March 23, 2011, 9:07 PM > It doesn't look like these additions > are actually used so I made > https://issues.apache.org/jira/browse/HBAS

Re: hbase-2001 added getZooKeeperWatcher and getCatalogTracker to RegionServerServices but these two methods are in Server

2011-03-23 Thread Stack
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 wrote: > It looks like hbase-2001 added some overlap between the Server and > RegionServerServices

hbase-2001 added getZooKeeperWatcher and getCatalogTracker to RegionServerServices but these two methods are in Server

2011-03-23 Thread Stack
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 Date: Sat Nov 20 01:23:39 2010 + HBASE-2001 Coprocessors: Colocate user code