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 F0A4F92A6 for ; Thu, 8 Mar 2012 22:00:18 +0000 (UTC) Received: (qmail 38173 invoked by uid 500); 8 Mar 2012 22:00:18 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 38135 invoked by uid 500); 8 Mar 2012 22:00:18 -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 38124 invoked by uid 99); 8 Mar 2012 22:00:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2012 22:00:18 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2012 22:00:17 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6316810CBD for ; Thu, 8 Mar 2012 21:59:57 +0000 (UTC) Date: Thu, 8 Mar 2012 21:59:57 +0000 (UTC) From: "Todd Lipcon (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <786071238.40723.1331243997407.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2119623382.40307.1331240037682.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-5543) Add a keepalive option for IPC connections MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-5543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13225573#comment-13225573 ] Todd Lipcon commented on HBASE-5543: ------------------------------------ We have "ipc.client.ping", right? What we want is sort of the opposite direction of that? > Add a keepalive option for IPC connections > ------------------------------------------ > > Key: HBASE-5543 > URL: https://issues.apache.org/jira/browse/HBASE-5543 > Project: HBase > Issue Type: Improvement > Components: client, coprocessors, ipc > Reporter: Andrew Purtell > > On the user list someone wrote in with a connection failure due to a long running coprocessor: > {quote} > On Wed, Mar 7, 2012 at 10:59 PM, raghavendhra rahul wrote: > 2012-03-08 12:03:09,475 WARN org.apache.hadoop.ipc.HBaseServer: IPC Server Responder, call execCoprocessor([B@50cb21, getProjection(), rpc version=1, client version=0, methodsFingerPrint=0), rpc version=1, client version=29, methodsFingerPrint=54742778 from 10.184.17.26:46472: output error > 2012-03-08 12:03:09,476 WARN org.apache.hadoop.ipc.HBaseServer: IPC Server handler 7 on 60020 caught: java.nio.channels.ClosedChannelException > {quote} > I suggested in response we might consider give our RPC a keepalive option for calls that may run for a long time (like execCoprocessor). > LarsH +1ed the idea: > {quote} > +1 on "keepalive". It's a shame (especially for long running server code) to do all the work, just to find out at the end that the client has given up. > Or maybe there should be a way to cancel an operation if the clients decides it does not want to wait any longer (PostgreSQL does that for example). Here that would mean the server would need to check periodically and coprocessors would need to be written to support that - so maybe that's no-starter. > {quote} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira