[ 
https://issues.apache.org/jira/browse/YARN-6264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Wang updated YARN-6264:
------------------------------
    Fix Version/s: 3.0.0-alpha3

> AM not launched when a single vcore is available on the cluster
> ---------------------------------------------------------------
>
>                 Key: YARN-6264
>                 URL: https://issues.apache.org/jira/browse/YARN-6264
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: fairscheduler
>            Reporter: Yufei Gu
>            Assignee: Yufei Gu
>             Fix For: 2.9.0, 3.0.0-alpha3
>
>         Attachments: YARN-6264.001.patch, YARN-6264.002.patch, 
> YARN-6264.003.patch, YARN-6264.004.patch, YARN-6264.005.patch, 
> YARN-6264.006.patch
>
>
> In method {{canRunAppAM()}}, we will get a zero vcore if there is only one 
> vcores, and the {{maxAMShare}} is between 0 and 1 because 
> {{Resources#multiply}} round down double to a integer by default. This 
> potentially happens frequently when assigning a container to AM just after 
> preemption happens since it is more likely there is only one vcore on the 
> cluster just after preemption.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to