hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13106) Ensure endpoint-only table coprocessors can be dynamically loaded
Date Thu, 26 Feb 2015 09:47:04 GMT

    [ https://issues.apache.org/jira/browse/HBASE-13106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14338160#comment-14338160
] 

Hudson commented on HBASE-13106:
--------------------------------

FAILURE: Integrated in HBase-0.98-on-Hadoop-1.1 #832 (See [https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/832/])
HBASE-13106 Ensure endpoint-only table coprocessors can be dynamically loaded (apurtell: rev
2d7f60c27ccb0e2a141b74e84c457344f3736eb1)
* hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestCoprocessorEndpoint.java
* hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestCoprocessorTableEndpoint.java
HBASE-13106 Ensure endpoint-only table coprocessors can be dynamically loaded (apurtell: rev
bcf14c84397040822a4be783e059448a3e480be7)
* hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestCoprocessorEndpoint.java
* hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestCoprocessorTableEndpoint.java


> Ensure endpoint-only table coprocessors can be dynamically loaded
> -----------------------------------------------------------------
>
>                 Key: HBASE-13106
>                 URL: https://issues.apache.org/jira/browse/HBASE-13106
>             Project: HBase
>          Issue Type: Test
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Trivial
>             Fix For: 2.0.0, 1.0.1, 1.1.0, 0.98.11
>
>         Attachments: HBASE-13106.patch, HBASE-13106.patch
>
>
> I came across the blog post http://www.3pillarglobal.com/insights/hbase-coprocessors
and this interesting bit:
> {quote}
> This means that you can load both Observer and Endpoint Coprocessor statically using
the following Method of HTableDescriptor:
> {noformat}
> addCoprocessor(String className, org.apache.hadoop.fs.Path jarFilePath, int priority,
Map<String,String> kvs) throws IOException
> {noformat}
> In my case, the above method worked fine for Observer Coprocessor *but didn’t work
for Endpoint Coprocessor, causing the table to become unavailable and finally I had to restart
my HBase*. The same Endpoint Coprocessor worked fine when loaded statically. Use the above
method for Endpoint Coprocessor with caution.
> {quote}
> To check this I wrote a test, attached. It passes, all seems ok. Guessing the complaint
was due to user error, probably jar placement/path issues.
> Let's still commit the test.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message