[ https://issues.apache.org/jira/browse/YARN-8701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sen Zhao updated YARN-8701: --------------------------- Description: If I configure *MaxResources* in fair-scheduler.xml, like this: {code}<MaxResources>resource1=50</MaxResources>{code} In the queue, the *MaxResources* value will change to {code}Max Resources: <memory: CLUSTER_MEMORY, VCores: 0, resource1: 50>{code} I think the value of VCores should be *CLUSTER_VCORES*. was: If I configure *MaxResources* in fair-scheduler.xml, like this: {code}<MaxResources>resource1=50</MaxResources>{code} In the queue, the *MaxResources* value will change to {code}<MaxResources>memory:CLUSTER_MEMORY, VCores:0, resource1:50</MaxResources>{code} I think the value of VCores should be *CLUSTER_VCORES*. > If the single parameter in Resources#createResourceWithSameValue is greater > than Integer.MAX_VALUE, then the value of vcores will be -1 > --------------------------------------------------------------------------------------------------------------------------------------- > > Key: YARN-8701 > URL: https://issues.apache.org/jira/browse/YARN-8701 > Project: Hadoop YARN > Issue Type: Bug > Components: api > Reporter: Sen Zhao > Assignee: Sen Zhao > Priority: Major > Attachments: YARN-8701.001.patch > > > If I configure *MaxResources* in fair-scheduler.xml, like this: > {code}<MaxResources>resource1=50</MaxResources>{code} > In the queue, the *MaxResources* value will change to > {code}Max Resources: <memory: CLUSTER_MEMORY, VCores: 0, resource1: 50>{code} > I think the value of VCores should be *CLUSTER_VCORES*. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org