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 B5FB2CAB1 for ; Wed, 17 Dec 2014 17:53:41 +0000 (UTC) Received: (qmail 40623 invoked by uid 500); 17 Dec 2014 17:53:39 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 40557 invoked by uid 500); 17 Dec 2014 17:53:39 -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 Delivered-To: moderator for user@hbase.apache.org Received: (qmail 80737 invoked by uid 99); 17 Dec 2014 17:34:01 -0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-type:subject:message-id:date:to :mime-version; bh=F5U5gtW9u8Hv2i8MUvRxrFeI4XFvOAPEHeHZ1UmlahI=; b=O8J1xnsac3dVi0WNnlMMsed8bQigYS+zrpHRqL1kyeA7r1CVqq9HKTojK8srQNjnzX x4veVSaf5+r9+XlEyU5+E8fHIbXOp6hqQWqR5GatIabIfb3l8EkQIvfeuykW1miM2CT0 HGujyhFdCM04WTt4W/xmeu5s/x7Jj7sCxFxALbKyfrkHlGI53G9rGE6ieEr0H/Uh71Fb CHwDSf8q1o9bpxpzwh7V2sUpOc5kvtRDt0BTIVxf07cJhKGs7P6YGH3pqeg05qWoVos+ YUH+JC7RIr57zMd/VxzLtE+BABKfin1ckKd5nUYvTl4RHB0X6cCVIkiS4E1IMJ1zsjlX SQmQ== X-Gm-Message-State: ALoCoQkSncSKwtbxxDF+sdIv+DqB+x6WpLUi7z7jOe5YxRGSrohfoFBrq0Zer/eUhgFINg1jMUw/ X-Received: by 10.194.85.197 with SMTP id j5mr72523488wjz.106.1418837549110; Wed, 17 Dec 2014 09:32:29 -0800 (PST) From: Jurriaan Mous Content-Type: multipart/alternative; boundary="Apple-Mail=_92F0622A-FF1F-4D3B-B12E-ABDC9D23E099" Subject: Async RpcClient Message-Id: <0669F82C-2D2A-41C3-A7E6-410C21CCF627@jurmo.us> Date: Wed, 17 Dec 2014 18:32:26 +0100 To: user@hbase.apache.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2063\)) X-Mailer: Apple Mail (2.2063) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_92F0622A-FF1F-4D3B-B12E-ABDC9D23E099 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi, I have been working on a Netty 4 based async HBase client to fit better = within the event driven server I have been developing. - = https://github.com/jurmous/async-hbase-client/tree/HBase-0.99 = =20 Recently I have been submitting some patches to make it easier to switch = out the RpcClient of HBase. This to enable HBase to use the client = itself in all communication. I wanted to do this to use the tests on = HBase to check if the client was solid on all edge cases but also to = enable HBase to possibly migrate to an async client. These were = committed on master and branch-1 https://issues.apache.org/jira/browse/HBASE-12597 = https://issues.apache.org/jira/browse/HBASE-12684 = Now I am at the next step where I want to contribute back the = AsyncRpcClient itself.=20 I have opened this issue to add AsyncRpcClient: https://issues.apache.org/jira/browse/HBASE-12684 = In the current patch the new async client is the default. 3 questions: Can anyone with a proper Kerberos setup test if the async client works? = SASL Digest auth works but I haven=E2=80=99t tested Kerberos yet.=20 Can anyone with know-how on benchmarking test what the performance of = this client is compared to the current client? The performance should of = course be great in all relevant metrics will it ever be the main client.=20= What will we do with the old RpcClient if the async RpcClient is = introduced? It would be great to remove it so hbase can internally base = anything async (like AsyncProcess) on the async RPC client and this = would not be possible with an also supported sync RPC client. A possible = route is to make AsyncRpcClient an option on 1.x and a default on 2.0 = branch where we remove the old client.=20 When the new AsyncRpcClient will be the default it is possible to = introduce callback variants of the Table, Scanner and Admin methods and = possibly deprecate batch and other AsyncProcess based calls to replace = it with a more flexible batch callback implementation.=20 Thanks, Jurriaan --Apple-Mail=_92F0622A-FF1F-4D3B-B12E-ABDC9D23E099--