kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jorg Heymans (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KAFKA-8573) kafka-topics.cmd OOM when connecting to a secure cluster without SSL properties
Date Sun, 14 Jul 2019 10:13:00 GMT

     [ https://issues.apache.org/jira/browse/KAFKA-8573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jorg Heymans resolved KAFKA-8573.
---------------------------------
    Resolution: Duplicate

> kafka-topics.cmd OOM when connecting to a secure cluster without SSL properties
> -------------------------------------------------------------------------------
>
>                 Key: KAFKA-8573
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8573
>             Project: Kafka
>          Issue Type: Bug
>          Components: tools
>    Affects Versions: 2.2.1
>         Environment: Windows 7
> openjdk version "1.8.0_212-1-ojdkbuild"
> OpenJDK Runtime Environment (build 1.8.0_212-1-ojdkbuild-b04)
> OpenJDK 64-Bit Server VM (build 25.212-b04, mixed mode)
>            Reporter: Jorg Heymans
>            Priority: Minor
>
> When using kafka-topics.cmd to connect to an SSL secured cluster, without specifying
'--command-config=my-ssl.properties' an OOM is triggered:
>  
> {noformat}
> [2019-06-20 14:25:07,998] ERROR Uncaught exception in thread 'kafka-admin-client-thread
| adminclient-1': (org.apache.kafka.common.utils.KafkaThread)
> java.lang.OutOfMemoryError: Java heap space
> at java.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:57)
> at java.nio.ByteBuffer.allocate(ByteBuffer.java:335)
> at org.apache.kafka.common.memory.MemoryPool$1.tryAllocate(MemoryPool.java:30)
> at org.apache.kafka.common.network.NetworkReceive.readFrom(NetworkReceive.java:112)
> at org.apache.kafka.common.network.KafkaChannel.receive(KafkaChannel.java:424)
> at org.apache.kafka.common.network.KafkaChannel.read(KafkaChannel.java:385)
> at org.apache.kafka.common.network.Selector.attemptRead(Selector.java:651)
> at org.apache.kafka.common.network.Selector.pollSelectionKeys(Selector.java:572)
> at org.apache.kafka.common.network.Selector.poll(Selector.java:483)
> at org.apache.kafka.clients.NetworkClient.poll(NetworkClient.java:535)
> at org.apache.kafka.clients.admin.KafkaAdminClient$AdminClientRunnable.run(KafkaAdminClient.java:1131)
> at java.lang.Thread.run(Thread.java:748){noformat}
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Mime
View raw message