Update the default container size in Ambari and CM configs
Ambari and CM configs should have a larger memory setting for system resources.
Set the services memory to 1 GB for all system containers
twill.java.heap.memory.ratio to 0.7 update: 0.6
updated after fixing typo in requirements to keep ratio at 0.6
master.service.memory.mb is just a macro property, and not directly relevant to a container (misleading description). Since we have each container listed in CSD/Ambari, master.service.memory.mb should not be included in CSD/Ambari.
For the base twill.java.* properties, we similarly will have all the container-specific properties listed in CSD/Ambari. However, the base twill.java.* are still also relevant to application containers, and so should be included. I suggest updating the property descriptions as well.
Updated to include all possible *.twill.java.heap.memory.ratio and *.twill.java.reserved.memory.mb. The reason is that cdap-default.xml already contains necessary overrides for the messaging container. If we remove all overrides from CSD, it's not clear this value is getting overridden. If we keep as is with only one override, it's not clear that it's even an override or not. Therefore I think it's least confusing if we just expose all override settings.