requirement failed: Unacceptable value for property 'kafka.timeline.metrics.host_in_memory_aggregation', boolean values must be either 'true' or 'false

requirement failed: Unacceptable value for property 'kafka.timeline.metrics.host_in_memory_aggregation', boolean values must be either 'true' or 'false

ambari 2.7.0 HDP 3.0

kafka

1.0.1

@li Hao

Additionally the "host_in_memory_aggregation" value is actually getting populated from "ams-site" as following:

# 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()

.

Hence please check your "ams-site" config in ambati UI to see if it has correct boolean values (true / false)?

Ambari UI --> Ambari Metrics --> Configs --> Advanced --> Advanced ams-site --> "Enable in-memory aggreation on monitors" Property

Correct the above property value and then restrat AMS service followed by Kafka restart and then you should no longer see the mentioned error.

posted @ 2019-04-29 18:06  大数据从业者FelixZh  阅读(1013)  评论(0编辑  收藏  举报