Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 77DBC1029F for ; Wed, 23 Oct 2013 20:55:35 +0000 (UTC) Received: (qmail 80529 invoked by uid 500); 23 Oct 2013 20:54:52 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 80468 invoked by uid 500); 23 Oct 2013 20:54:49 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 80354 invoked by uid 99); 23 Oct 2013 20:54:41 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Oct 2013 20:54:41 +0000 Received: from localhost (HELO mail-wg0-f47.google.com) (127.0.0.1) (smtp-auth username apurtell, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Oct 2013 20:54:40 +0000 Received: by mail-wg0-f47.google.com with SMTP id c11so1390990wgh.26 for ; Wed, 23 Oct 2013 13:54:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=v9d9+zDrwGZxPPM8YFdoLkoipZWOriCBnc1tn9UtKmo=; b=Ey38d7JfAtqGerdbBNOxQD4pogzMZpOFNb50X207TyVaGLSGjNMQHg0h6yRRywUgUF v/zOZ0f15FZAkw1Jh5/fbiPJ9rIeQ7FrqJV0vR9o3rrY3pzrZ93Qsv2079x3lvpHsyPr Mpjm5a6x3q3nNTq0mZ0geGwJ4Ai8lN/sgFcaprS463lXeYu1b6LLQ8c/oSuB3gyHzutK foAS2/mCiClIRSUOAOWYSbGiJeodUe4iVx9USzZ6hz1Tov0F2rwadN1+4PzBPnvpVHL3 4Odmup3uWv8NI9DvNht/RwHb9nrcprZ7M8Os2xhbkfH33+yh80Fl5dMH+hXYIiWMnfrv ZBfA== X-Received: by 10.194.175.133 with SMTP id ca5mr3300129wjc.19.1382561678945; Wed, 23 Oct 2013 13:54:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.227.21.65 with HTTP; Wed, 23 Oct 2013 13:53:58 -0700 (PDT) In-Reply-To: References: From: Andrew Purtell Date: Wed, 23 Oct 2013 13:53:58 -0700 Message-ID: Subject: Re: coprocessor status query To: "user@hbase.apache.org" Content-Type: multipart/alternative; boundary=089e01493c5ac0f7a704e96eb995 --089e01493c5ac0f7a704e96eb995 Content-Type: text/plain; charset=ISO-8859-1 You are certainly welcome to your opinion. I think we have been very clear at all possible instances that coprocessors are an *internal *extension framework for HBase. So I would submit a DUH rather than DOA. Just saying. On Wed, Oct 23, 2013 at 5:21 AM, Michael Segel wrote: > Well... > > I am biting my tongue. ;-P > > I could have gone on to say that unless you have a very special use case > that can't be implemented another way, and that you are going to have a > staff of very senior developers maintaining your implementation ... Don't > use coprocessors. They are really that dangerous. > > IMHO, the current implementation is DOA, primarily because it runs in the > same JVM as the RS. > (I'll have to see if I can open a JIRA and make comments.) > > > On Oct 23, 2013, at 12:13 AM, Wei Tan wrote: > > > Hi Gary, thanks for your clarification and yes, I totally agree with your > > statement. > > > > The class is not removed but the CP is kind of removed and not active > > after an un-handled exception. > > I will take a look at the Jira you mentioned. > > Best regards, > > Wei > > > > > > > > From: Gary Helmling > > To: user@hbase.apache.org, > > Date: 10/22/2013 07:37 PM > > Subject: Re: coprocessor status query > > > > > > > >> > >> "The coprocessor class is of course still in memory on the > >> regionserver,...." > >> > >> That was kinda my point. > >> > >> You can't remove the class from the RS until you do a rolling restart. > >> > > > > Yes, understood. > > > > However, your original statement that "You can't remove a coprocessor" > > needed some clarification, in that the coprocessor that threw the > > exception > > _is_ removed from the active set of coprocessors for that region. So it > > is > > no longer invoked for pre/post hooks on the call path for further > > requests. > > > > From the original question, I take it that this invocation context is > what > > Wei cared about. > > > > The opinions expressed here are mine, while they may reflect a cognitive > thought, that is purely accidental. > Use at your own risk. > Michael Segel > michael_segel (AT) hotmail.com > > > > > > -- Best regards, - Andy Problems worthy of attack prove their worth by hitting back. - Piet Hein (via Tom White) --089e01493c5ac0f7a704e96eb995--