You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Appy (JIRA)" <ji...@apache.org> on 2017/03/04 00:57:45 UTC
[jira] [Created] (HBASE-17732) Add CpType template to
CoprocessorEnvironment
Appy created HBASE-17732:
----------------------------
Summary: Add CpType template to CoprocessorEnvironment
Key: HBASE-17732
URL: https://issues.apache.org/jira/browse/HBASE-17732
Project: HBase
Issue Type: Improvement
Reporter: Appy
Assignee: Appy
Adding template for coprocessor type to CoprocessorEnvironment will:
- get rid of 'instanceOf' checks we do in various coprocessor hosts
- allow us to load only relevant coprocessors in hosts (right now i think each host loads all coprocs and it's only during execOperation that it checks if the coproc is of correct type ie XXCoprocessorHost will load XXObserver, YYObserver, and all others, and in will check in execOperation if coproc is of type XXObserver and ignore the rest).
- allow sharing of a bunch functions/classes which are currently 99% duplicate of each other. For eg. CoprocessorOperations, CoprocessorOperationWithResult, execOperations().
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)