Kafka Java heap space issue

In this post i am going to show " How to fix FATAL kafka.server.KafkaServerStartable: Fatal error during KafkaServerStartable startup. Prepare to shutdown java.lang.OutOfMemoryError: Java heap space" while installing Kafka with CDH



While installing by default it will take around 16 MB heap size for Java, it is not sufficient for Kafka. So we will end up with JAVA HEAP problems.



For this we need to change "broker_max_heap_size" property from 16 MB to 256 MB or 512 MB heap size. Save changes and restart installation
Previous
Next Post »