Update the default container size in Ambari and CM configs

Description

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
twill.java.reserved.memory.mb 300

Release Notes

None

Activity

Show:
Derek Wood
November 2, 2017, 5:50 PM

updated after fixing typo in requirements to keep ratio at 0.6

Derek Wood
October 30, 2017, 10:44 PM

Another clarification:
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.

Derek Wood
October 30, 2017, 9:15 PM

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.

Fixed

Assignee

Derek Wood

Reporter

Sreevatsan Raman

Labels

None

Docs Impact

None

UX Impact

None

Components

Fix versions

Priority

Major