Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id CE706200B21 for ; Fri, 27 May 2016 03:40:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CD75E160A18; Fri, 27 May 2016 01:40:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 47141160A2C for ; Fri, 27 May 2016 03:40:14 +0200 (CEST) Received: (qmail 33225 invoked by uid 500); 27 May 2016 01:40:13 -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 32968 invoked by uid 99); 27 May 2016 01:40:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 May 2016 01:40:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DE7462C1F68 for ; Fri, 27 May 2016 01:40:12 +0000 (UTC) Date: Fri, 27 May 2016 01:40:12 +0000 (UTC) From: "Colin Ma (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-15830) Sasl encryption doesn't work with AsyncRpcChannelImpl MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 27 May 2016 01:40:15 -0000 [ https://issues.apache.org/jira/browse/HBASE-15830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15303321#comment-15303321 ] Colin Ma commented on HBASE-15830: ---------------------------------- [~ghelmling], thanks for review, the patch is updated according to your comments. > Sasl encryption doesn't work with AsyncRpcChannelImpl > ----------------------------------------------------- > > Key: HBASE-15830 > URL: https://issues.apache.org/jira/browse/HBASE-15830 > Project: HBase > Issue Type: Bug > Reporter: Colin Ma > Attachments: HBASE-15830.001.patch, HBASE-15830.002.patch, HBASE-15830.003.patch, HBASE-15830.004.patch > > > Currently, sasl encryption doesn't work with AsyncRpcChannelImpl, there has 3 problems: > 1. [sourcecode|https://github.com/apache/hbase/blob/master/hbase-client/src/main/java/org/apache/hadoop/hbase/security/SaslClientHandler.java#L308] will throw the following exception: > java.lang.UnsupportedOperationException: direct buffer > at io.netty.buffer.UnpooledUnsafeDirectByteBuf.array(UnpooledUnsafeDirectByteBuf.java:199) > at org.apache.hadoop.hbase.security.SaslClientHandler.write(SaslClientHandler.java:308) > 2. [sourcecode|https://github.com/apache/hbase/blob/master/hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/AsyncRpcChannelImpl.java#L212] has deadlocks problem. > 3. TestAsyncSecureIPC doesn't cover the sasl encryption test case. -- This message was sent by Atlassian JIRA (v6.3.4#6332)