Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 509C7100B7 for ; Tue, 30 Dec 2014 22:50:21 +0000 (UTC) Received: (qmail 62022 invoked by uid 500); 30 Dec 2014 22:50:21 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 61939 invoked by uid 500); 30 Dec 2014 22:50:21 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 61911 invoked by uid 99); 30 Dec 2014 22:50:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Dec 2014 22:50:19 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of andrew.purtell@gmail.com designates 209.85.214.174 as permitted sender) Received: from [209.85.214.174] (HELO mail-ob0-f174.google.com) (209.85.214.174) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Dec 2014 22:50:14 +0000 Received: by mail-ob0-f174.google.com with SMTP id nt9so51461029obb.5 for ; Tue, 30 Dec 2014 14:49:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:mime-version:subject :message-id:date:cc:to; bh=VLEvMIF2FawYG6oSOYSWrZGba8IrZCT2rVIJ6XdDU8Y=; b=qqZS6CxV5U0L5TqM0p/ngVY3Edmeo9bEclTe0TBL9DAQcyIOACuqsE2DEoB7YgfOaY SXmqun4XleuH/QJSqdF94azZ1hf6PTQSTezQhiOiqHOPSVITaWJWlfQYhJdr3hXEWwe1 V7JhXLuw/6K7h5+W3HODvLBGi8Y0coSMZq5mL897Ko7LhDB/cof9+hyBLIDr8oQtwkZ4 mGFG4S768fYDGimEjNV2dJNIsQWPy0zEYHEVMeXH1kYvmzS9REHXPMm1gBhPVDG4I78N Wg72Pchcz0OMerajDegamKZPWefyf2OVxHjaOAtYki82vbPx6zFQgHyMfDkA2Cl5szmp ldsw== X-Received: by 10.202.209.147 with SMTP id i141mr31353746oig.108.1419979758663; Tue, 30 Dec 2014 14:49:18 -0800 (PST) Received: from ?IPv6:2602:306:b842:8c50:d003:19fe:405c:e56a? ([2602:306:b842:8c50:d003:19fe:405c:e56a]) by mx.google.com with ESMTPSA id rm7sm20955385obc.14.2014.12.30.14.49.16 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 30 Dec 2014 14:49:16 -0800 (PST) From: Andrew Purtell Content-Type: multipart/alternative; boundary=Apple-Mail-D5333721-25AE-4E1A-9DC4-6F1C14790C9A Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (1.0) Subject: Considering a RpcSchedulerFactory change in 0.98 for HBASE-12028 Message-Id: Date: Tue, 30 Dec 2014 14:49:15 -0800 Cc: HBase Dev List To: "dev@phoenix.apache.org" X-Mailer: iPhone Mail (12B440) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-D5333721-25AE-4E1A-9DC4-6F1C14790C9A Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Hi Phoenix, Please see https://issues.apache.org/jira/browse/HBASE-12028 The proposed change if committed into 0.98 branch would introduce a new 'cre= ate' method into the RpcSchedulerFactory interface that receives an Abortabl= e as an additional parameter. Thus, the factory can pass this on to schedule= rs and workers and if something terrible happens in or to a RPC handler they= can trigger a server abort. Due to a design oversight we don't otherwise ha= ve this capability. In my opinion it is important to fix this oversight. (Ph= oenix can also potentially make use of the Abortable for fatal issues involv= ing indexes.) Otherwise RPC handlers can silently terminate upon receiving a= n unhandled throwable, potentially leaving behind bad state, certainly impac= ting performance and availability. However because RpcSchedulerFactory is an= interface any implementor will not compile after this change, until updated= . HBase could include this change in the next 0.98 release or not. Please advi= se.=20 --Apple-Mail-D5333721-25AE-4E1A-9DC4-6F1C14790C9A--