Details
Description
ResourceUtils#addMandatoryResources: Adds only memory and vcores as mandatory resources.
ResourceUtils#checkMandatoryResources: YARN-6620 added some code to this. This method not only checks memory and vcores, but all the resources referred in ResourceInformation#MANDATORY_RESOURCES.
I think it would be good to call MANDATORY_RESOURCES as PREDEFINED_RESOURCES or something like that and use a similar name for checkMandatoryResources.
Attachments
Attachments
Issue Links
- links to