hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yufei Gu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-6264) AM not launched when a single vcore is available on the cluster
Date Thu, 09 Mar 2017 21:53:38 GMT

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

Yufei Gu updated YARN-6264:
---------------------------
    Description: 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 preemption happens
and assign a new container to AM.   (was: In method {{canRunAppAM()}}, we should use policy
related resource comparison instead of using {{Resources.fitsIn()}} to determined if the queue
has enough resource for the AM. )

> 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
>         Attachments: YARN-6264.001.patch, YARN-6264.002.patch, YARN-6264.003.patch, YARN-6264.004.patch,
YARN-6264.005.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 preemption happens and assign
a new container to AM. 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message