[
https://issues.apache.org/jira/browse/HBASE-4048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13058248#comment-13058248
]
[email protected] commented on HBASE-4048:
------------------------------------------------------
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/984/
-----------------------------------------------------------
(Updated 2011-07-01 08:00:54.357860)
Review request for hbase.
Changes
-------
Fix oversight in not making interface Priority constants final, pointed out by
Ted.
Summary
-------
Users should be able to pass configuration options to coprocessors. These
options should be applied at load time.
- For system coprocessors, just use the configuration of the container.
- Extend table coprocessor load specification to allow arbitrary key-value
pairs at the end (<key>=<value>{,}).
Also fixes the outstanding issue where coprocessor priority is supposed to be
an integer range but is constrained by the Coprocessor.Priority enum to 4
values.
This addresses bug HBASE-4048.
https://issues.apache.org/jira/browse/HBASE-4048
Diffs (updated)
-----
src/main/java/org/apache/hadoop/hbase/coprocessor/Coprocessor.java c2ea442
src/main/java/org/apache/hadoop/hbase/coprocessor/CoprocessorEnvironment.java
ac5387a
src/main/java/org/apache/hadoop/hbase/coprocessor/CoprocessorHost.java
5bae05a
src/main/java/org/apache/hadoop/hbase/master/MasterCoprocessorHost.java
4800bea
src/main/java/org/apache/hadoop/hbase/regionserver/RegionCoprocessorHost.java
a98117f
src/main/java/org/apache/hadoop/hbase/regionserver/wal/WALCoprocessorHost.java
796742c
src/test/java/org/apache/hadoop/hbase/coprocessor/TestClassLoading.java
58a09f8
src/test/java/org/apache/hadoop/hbase/coprocessor/TestCoprocessorInterface.java
969b1f3
src/test/java/org/apache/hadoop/hbase/coprocessor/TestRegionObserverStacking.java
0cdf7d1
Diff: https://reviews.apache.org/r/984/diff
Testing
-------
Modified o.a.h.h.coprocessor.TestClassLoading to check new functionality.
Thanks,
Andrew
> [Coprocessors] Support configuration of coprocessor at load time
> ----------------------------------------------------------------
>
> Key: HBASE-4048
> URL: https://issues.apache.org/jira/browse/HBASE-4048
> Project: HBase
> Issue Type: Improvement
> Reporter: Andrew Purtell
> Assignee: Andrew Purtell
> Fix For: 0.92.0
>
> Attachments: HBASE-4048.patch
>
>
> Users should be able to pass configuration options to coprocessors. These
> options should be applied at load time.
> - For system coprocessors, just use the configuration of the container.
> - Extend table coprocessor load specification to allow arbitrary key-value
> pairs at the end (<key>=<value>{,}).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira