> >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: ((RegionCoprocessorEnvironment)env).getRegion().getRegionInfo().getTableName(); within your start() method without a problem.