[
https://issues.apache.org/jira/browse/HBASE-15990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15321862#comment-15321862
]
Ted Yu commented on HBASE-15990:
--------------------------------
{code}
+ public CoprocessorEnvironment createEnvironment(Class<?> implClass,
{code}
Is it possible to refactor the CoprocessorEnvironment from
TestCoprocessorHost#testDoubleLoading() - only getPriority() is different
between that and yours ?
> The priority value of subsequent coprocessor in the
> Coprocessor.Priority.SYSTEM list are not incremented by one
> ---------------------------------------------------------------------------------------------------------------
>
> Key: HBASE-15990
> URL: https://issues.apache.org/jira/browse/HBASE-15990
> Project: HBase
> Issue Type: Bug
> Affects Versions: master
> Reporter: ChiaPing Tsai
> Assignee: ChiaPing Tsai
> Priority: Minor
> Fix For: 2.0.0, 1.4.0
>
> Attachments: HBASE-15990.patch
>
>
> {code:title=CoprocessorHost.java|borderStyle=solid}
> // The Coprocessor.PRIORITY_SYSTEM should be replaced by priority
> this.coprocessors.add(loadInstance(implClass,
> Coprocessor.PRIORITY_SYSTEM, conf));
> LOG.info("System coprocessor " + className + " was loaded " +
> "successfully with priority (" + priority++ + ").");
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)