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.

猜你喜欢

转载自www.cnblogs.com/felixzh/p/10792041.html
今日推荐