<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How do you change Kafka heap memory with CDH (properly) ? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-you-change-Kafka-heap-memory-with-CDH-properly/m-p/29576#M6582</link>
    <description>Edit the "Kafka Broker Environment Advanced Configuration Snippet (Safety Valve)" field under CM -&amp;gt; Kafka -&amp;gt; Configuration with the below entry (For a 5g example):&lt;BR /&gt;&lt;BR /&gt;KAFKA_HEAP_OPTS="-Xmx5g -Xms5g"&lt;BR /&gt;&lt;BR /&gt;Save and restart.</description>
    <pubDate>Wed, 15 Jul 2015 08:16:03 GMT</pubDate>
    <dc:creator>Harsh J</dc:creator>
    <dc:date>2015-07-15T08:16:03Z</dc:date>
    <item>
      <title>How do you change Kafka heap memory with CDH (properly) ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-you-change-Kafka-heap-memory-with-CDH-properly/m-p/29574#M6581</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ps aux | grep -i kafka&lt;BR /&gt;kafka 3376 12.3 19.4 5444664 1184292 ? Sl Jun17 4843:42 /usr/lib/jvm/java-7-oracle-cloudera/bin/java &lt;STRONG&gt;-Xmx1G -Xms1G&lt;/STRONG&gt; -server -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+CMSScavengeBeforeRemark -XX:+DisableExplicitGC -Djava.awt.headless=true -Xloggc:/run/cloudera-scm-agent/process/2769-kafka-KAFKA_BROKER/kafkaServer-gc.log -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.port=9393 -Dkafka.logs.dir=/run/cloudera-scm-agent/process/2769-kafka-KAFKA_BROKER -Dlog4j.configuration=file:/run/cloudera-scm-agent/process/2769-kafka-KAFKA_BROKER/log4j.properties -cp :/opt/cloudera/parcels/KAFKA-0.8.2.0-1.kafka1.3.0.p0.29/lib/kafka/bin/../core/build/dependant-libs-2.10.4*/*.jar:/opt/cloudera/parcels/KAFKA-0.8.2.0-1.kafka1.3.0.p0.29/lib/kafka/bin/../examples/build/libs//kafka-examples*.jar:/opt/cloudera/parcels/KAFKA-0.8.2.0-1.kafka1.3.0.p0.29/lib/kafka/bin/../contrib/hadoop-consumer/build/libs//kafka-hadoop-consumer*.jar:/opt/cloudera/parcels/KAFKA-0.8.2.0-1.kafka1.3.0.p0.29/lib/kafka/bin/../contrib/hadoop-producer/build/libs//kafka-hadoop-producer*.jar:/......etc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how do change that java heap memory for kafka in the proper way with CDH? (because i didn't see it on the cdh config)&amp;nbsp;(CDH 5.4.x)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:34:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-you-change-Kafka-heap-memory-with-CDH-properly/m-p/29574#M6581</guid>
      <dc:creator>sphinxid</dc:creator>
      <dc:date>2022-09-16T09:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do you change Kafka heap memory with CDH (properly) ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-you-change-Kafka-heap-memory-with-CDH-properly/m-p/29576#M6582</link>
      <description>Edit the "Kafka Broker Environment Advanced Configuration Snippet (Safety Valve)" field under CM -&amp;gt; Kafka -&amp;gt; Configuration with the below entry (For a 5g example):&lt;BR /&gt;&lt;BR /&gt;KAFKA_HEAP_OPTS="-Xmx5g -Xms5g"&lt;BR /&gt;&lt;BR /&gt;Save and restart.</description>
      <pubDate>Wed, 15 Jul 2015 08:16:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-you-change-Kafka-heap-memory-with-CDH-properly/m-p/29576#M6582</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2015-07-15T08:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do you change Kafka heap memory with CDH (properly)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-you-change-Kafka-heap-memory-with-CDH-properly/m-p/29944#M6583</link>
      <description>A direct property to change this is now available in the most recent CM&lt;BR /&gt;5.4.x releases. Once you upgrade, please remember to remove the env-var&lt;BR /&gt;workaround so things continue to be configured consistently.</description>
      <pubDate>Wed, 22 Jul 2015 16:32:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-you-change-Kafka-heap-memory-with-CDH-properly/m-p/29944#M6583</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2015-07-22T16:32:02Z</dc:date>
    </item>
  </channel>
</rss>

