Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Not A Bug
-
Impala 1.4
Description
Yarn has yarn.nodemanager.resource.cpu-vcores which sets the maximum number of cores a single node can allocate. Impala uses Java's availableCores() method which looks at the whole machine. When RM is enabled, we should limit the estimated number of cores per-node to yarn.nodemanager.resource.cpu-vcores.
This is probably easiest to do in the backend in QuerySchedule::GetPerHostVCores().