Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5D7B017D29 for ; Thu, 26 Feb 2015 01:59:05 +0000 (UTC) Received: (qmail 5882 invoked by uid 500); 26 Feb 2015 01:59:05 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 5836 invoked by uid 500); 26 Feb 2015 01:59:05 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 5824 invoked by uid 99); 26 Feb 2015 01:59:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Feb 2015 01:59:05 +0000 Date: Thu, 26 Feb 2015 01:59:05 +0000 (UTC) From: "Srikanth Srungarapu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-13106) Ensure endpoint-only table coprocessors can be dynamically loaded MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-13106?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D143= 37697#comment-14337697 ]=20 Srikanth Srungarapu commented on HBASE-13106: --------------------------------------------- Got it. Thanks! +1 (non-binding) > 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-c= oprocessors and this interesting bit: > {quote} > This means that you can load both Observer and Endpoint Coprocessor stati= cally using the following Method of HTableDescriptor: > {noformat} > addCoprocessor(String className, org.apache.hadoop.fs.Path jarFilePath, i= nt priority, Map kvs) throws IOException > {noformat} > In my case, the above method worked fine for Observer Coprocessor *but di= dn=E2=80=99t work for Endpoint Coprocessor, causing the table to become una= vailable and finally I had to restart my HBase*. The same Endpoint Coproces= sor worked fine when loaded statically. Use the above method for Endpoint C= oprocessor 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)