returns the fraction of cpus that should be used for yarn containers . the number is derived based on various configuration params such as yarnconfiguration.nm _ resource_percentage_physical_cpu_limit concode_field_sep Log LOG concode_field_sep int getNodeCPUs concode_elem_sep int getNodeCPUs concode_elem_sep int getVCores concode_elem_sep int getVCores concode_elem_sep int getNodeCpuPercentage concode_elem_sep int getContainerMemoryMB concode_elem_sep int getContainerMemoryMB
float function ( Configuration arg0 ) { ResourceCalculatorPlugin loc0 = ResourceCalculatorPlugin . getResourceCalculatorPlugin ( null , arg0 ) ; return NodeManagerHardwareUtils . getContainersCPUs ( loc0 , arg0 ) ; }