hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Ma (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-15830) Sasl encryption doesn't work with AsyncRpcChannelImpl
Date Sat, 14 May 2016 08:16:12 GMT
Colin Ma created HBASE-15830:

             Summary: 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

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

View raw message