Configuring Resource Fairness
On Linux, DataFlow can be configured to use cgroups to control resource usage by jobs, permitting multiple jobs to execute simultaneously on a node while still providing a fair distribution of system resources. To enable these controls, you must set two parameters.
job.resource.usage.control
node.executor.base.cgroup
Must be set to the appropriate cgroup for every node manager. This property should identify the root cgroup created for DataFlow to administer adhoc subgroups as discussed in
Enabling Fair Sharing.
WARNING! Using cgroups is only valid if all nodes are running Linux. If the cluster contains machines running other operating systems, setting clustermgr.resource.enforcement to CGROUP will not start the jobs.
Last modified date: 06/14/2024