You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/06/20 19:19:58 UTC

[jira] [Commented] (HBASE-16054) OutOfMemory exception when using AsyncRpcClient with encryption

    [ https://issues.apache.org/jira/browse/HBASE-16054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15340219#comment-15340219 ] 

Hudson commented on HBASE-16054:
--------------------------------

FAILURE: Integrated in HBase-Trunk_matrix #1083 (See [https://builds.apache.org/job/HBase-Trunk_matrix/1083/])
HBASE-16054 OutOfMemory exception when using AsyncRpcClient with (tedyu: rev 76419df21d168c6fb1d7128ec50332ef5bd90fcb)
* hbase-client/src/main/java/org/apache/hadoop/hbase/security/SaslClientHandler.java


> OutOfMemory exception when using AsyncRpcClient with encryption
> ---------------------------------------------------------------
>
>                 Key: HBASE-16054
>                 URL: https://issues.apache.org/jira/browse/HBASE-16054
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Colin Ma
>            Assignee: Colin Ma
>             Fix For: 2.0.0, 1.4.0
>
>         Attachments: HBASE-16054.001.patch, HBASE-16054.002.patch
>
>
> Test the AsyncRpcClient with encryption in infinity loop, will get the OOM exception like the following:
> io.netty.util.internal.OutOfDirectMemoryError: failed to allocate 29106160 byte(s) of direct memory (used: 2607219760, max: 2609905664)
> 	at io.netty.util.internal.PlatformDependent.incrementMemoryCounter(PlatformDependent.java:592)
> 	at io.netty.util.internal.PlatformDependent.allocateDirectNoCleaner(PlatformDependent.java:546)
> 	at io.netty.buffer.PoolArena$DirectArena.allocateDirect(PoolArena.java:699)
> 	at io.netty.buffer.PoolArena$DirectArena.newUnpooledChunk(PoolArena.java:695)
> 	at io.netty.buffer.PoolArena.allocateHuge(PoolArena.java:246)
> 	at io.netty.buffer.PoolArena.allocate(PoolArena.java:224)
> 	at io.netty.buffer.PoolArena.allocate(PoolArena.java:141)
> 	at io.netty.buffer.PooledByteBufAllocator.newDirectBuffer(PooledByteBufAllocator.java:262)
> 	at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:179)
> 	at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:170)
> 	at io.netty.buffer.AbstractByteBufAllocator.buffer(AbstractByteBufAllocator.java:107)
> 	at org.apache.hadoop.hbase.security.SaslClientHandler.write(SaslClientHandler.java:328)
> 	at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:724)
> 	at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:716)
> 	at io.netty.channel.AbstractChannelHandlerContext.access$1900(AbstractChannelHandlerContext.java:36)
> 	at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.write(AbstractChannelHandlerContext.java:1064)
> 	at io.netty.channel.AbstractChannelHandlerContext$WriteAndFlushTask.write(AbstractChannelHandlerContext.java:1111)
> 	at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.run(AbstractChannelHandlerContext.java:1049)
> 	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:339)
> 	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:393)
> 	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:742)
> 	at java.lang.Thread.run(Thread.java:745)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)