Description
Upgrading to 2.5.1 after a fresh install of HDP-2.6 using 2.5.0.3, adds cgroup configs and results in YARN restart required indicator.
This is because https://issues.apache.org/jira/browse/AMBARI-19311 added the logic to remove these configs when cgroup is not enabled but as the config properties have <on-ambari-upgrade add="true"/> they get auto added when Ambari is upgraded.
I believe simply setting <on-ambari-upgrade add="true"/> to <on-ambari-upgrade add="false"/> will fix this issue.