<?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: requirement failed: Unacceptable value for property 'kafka.timeline.metrics.host_in_memory_aggregation', boolean values must be either 'true' or 'false in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/requirement-failed-Unacceptable-value-for-property-kafka/m-p/231327#M193171</link>
    <description>&lt;P&gt;hi @Jay Kumar SenSharma&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;but I have to restart kafka one by one, so that error disappeared .&lt;/P&gt;</description>
    <pubDate>Sun, 26 Aug 2018 13:56:29 GMT</pubDate>
    <dc:creator>uniKrau</dc:creator>
    <dc:date>2018-08-26T13:56:29Z</dc:date>
    <item>
      <title>requirement failed: Unacceptable value for property 'kafka.timeline.metrics.host_in_memory_aggregation', boolean values must be either 'true' or 'false</title>
      <link>https://community.cloudera.com/t5/Support-Questions/requirement-failed-Unacceptable-value-for-property-kafka/m-p/231324#M193168</link>
      <description>&lt;P&gt;requirement failed: Unacceptable value for property 'kafka.timeline.metrics.host_in_memory_aggregation', boolean values must be either 'true' or 'false&lt;/P&gt;
&lt;P&gt;ambari 2.7.0 HDP 3.0&lt;/P&gt;
&lt;P&gt;kafka&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;1.0.1&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="87392-wechatimg2.png" style="width: 1912px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/14956iC2500A1F14DFE2B9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="87392-wechatimg2.png" alt="87392-wechatimg2.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 07:39:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/requirement-failed-Unacceptable-value-for-property-kafka/m-p/231324#M193168</guid>
      <dc:creator>uniKrau</dc:creator>
      <dc:date>2020-01-14T07:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: requirement failed: Unacceptable value for property 'kafka.timeline.metrics.host_in_memory_aggregation', boolean values must be either 'true' or 'false</title>
      <link>https://community.cloudera.com/t5/Support-Questions/requirement-failed-Unacceptable-value-for-property-kafka/m-p/231325#M193169</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/93166/unikrau.html" nodeid="93166"&gt;@li
 Hao
&lt;/A&gt;&lt;P&gt;Looks like some how the variable &lt;STRONG&gt;"kafka.timeline.metrics.host_in_memory_aggregation" &lt;/STRONG&gt;is not being substituted properly or the following attribute is not correct on the broker host:&lt;/P&gt;&lt;PRE&gt;# grep 'host_in_memory_aggregation'  /etc/kafka/conf/server.properties 
kafka.timeline.metrics.host_in_memory_aggregation=false
kafka.timeline.metrics.host_in_memory_aggregation_port=61888
kafka.timeline.metrics.host_in_memory_aggregation_protocol=http&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;In My default Ambari 2.7 + HDP 3.0 (with Kafka installed) i do not see any such issue in kafka logs.&lt;/P&gt;&lt;P&gt;So may be in your case the&lt;STRONG&gt; "/etc/kafka/conf/server.properties" &lt;/STRONG&gt;file of kafka broker does not seem to be having the correct property substituted. Please try setting the value to "true" or "false" from ambari UI and test again. &lt;/P&gt;</description>
      <pubDate>Sat, 25 Aug 2018 21:50:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/requirement-failed-Unacceptable-value-for-property-kafka/m-p/231325#M193169</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-08-25T21:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: requirement failed: Unacceptable value for property 'kafka.timeline.metrics.host_in_memory_aggregation', boolean values must be either 'true' or 'false</title>
      <link>https://community.cloudera.com/t5/Support-Questions/requirement-failed-Unacceptable-value-for-property-kafka/m-p/231326#M193170</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/93166/unikrau.html" nodeid="93166"&gt;@li
 Hao
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Additionally the &lt;STRONG&gt;"host_in_memory_aggregation"&lt;/STRONG&gt; value is actually getting populated from "ams-site" as following:&lt;/P&gt;&lt;PRE&gt;# grep 'timeline.metrics.host.inmemory.aggregation' /var/lib/ambari-server/resources/common-services/KAFKA//0.8.1/package/scripts/params.py
  host_in_memory_aggregation = str(default("/configurations/ams-site/timeline.metrics.host.inmemory.aggregation", True)).lower()&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Hence please check your "ams-site" config in ambati UI to see if it has correct boolean values (true / false)?&lt;/P&gt;&lt;PRE&gt;Ambari UI --&amp;gt; Ambari Metrics --&amp;gt; Configs --&amp;gt; Advanced --&amp;gt;  Advanced ams-site --&amp;gt; "Enable in-memory aggreation on monitors" Property&lt;/PRE&gt;&lt;P&gt;Correct the above property value and then restrat AMS service followed by Kafka restart and then you should no longer see the mentioned error.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Aug 2018 21:58:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/requirement-failed-Unacceptable-value-for-property-kafka/m-p/231326#M193170</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-08-25T21:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: requirement failed: Unacceptable value for property 'kafka.timeline.metrics.host_in_memory_aggregation', boolean values must be either 'true' or 'false</title>
      <link>https://community.cloudera.com/t5/Support-Questions/requirement-failed-Unacceptable-value-for-property-kafka/m-p/231327#M193171</link>
      <description>&lt;P&gt;hi @Jay Kumar SenSharma&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;but I have to restart kafka one by one, so that error disappeared .&lt;/P&gt;</description>
      <pubDate>Sun, 26 Aug 2018 13:56:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/requirement-failed-Unacceptable-value-for-property-kafka/m-p/231327#M193171</guid>
      <dc:creator>uniKrau</dc:creator>
      <dc:date>2018-08-26T13:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: requirement failed: Unacceptable value for property 'kafka.timeline.metrics.host_in_memory_aggregation', boolean values must be either 'true' or 'false</title>
      <link>https://community.cloudera.com/t5/Support-Questions/requirement-failed-Unacceptable-value-for-property-kafka/m-p/287576#M213120</link>
      <description>&lt;P&gt;It works perfectly after changing the mentioned configurations. Thanks a lot.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 06:35:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/requirement-failed-Unacceptable-value-for-property-kafka/m-p/287576#M213120</guid>
      <dc:creator>skiganesh</dc:creator>
      <dc:date>2020-01-14T06:35:04Z</dc:date>
    </item>
  </channel>
</rss>

