hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Templeton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6789) new api to get all supported resources from RM
Date Thu, 10 Aug 2017 17:37:00 GMT

    [ https://issues.apache.org/jira/browse/YARN-6789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16121965#comment-16121965
] 

Daniel Templeton commented on YARN-6789:
----------------------------------------

Per the recent conversation with [~vvasudev] on YARN-4081, the intent of units as they're
currently implemented is to allow the node manager to report capabilities in units other than
what the RM expects and to allow the admin to change units for a resource type without forcing
all clients to immediately updated.

If I understand correctly, what you're proposing is making the units a global dictate.  The
RM says that memory has the unit "Mi", therefore all NMs and clients must use that unit. 
That's definitely in line with the way it works in trunk.  What happens if an admin changes
the units for a resource type?  Does that mean she'll also have to simultaneously change the
capabilities of all NMs and restart the entire cluster?  How would a rolling restart work
in that case?

> new api to get all supported resources from RM
> ----------------------------------------------
>
>                 Key: YARN-6789
>                 URL: https://issues.apache.org/jira/browse/YARN-6789
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: nodemanager, resourcemanager
>            Reporter: Sunil G
>            Assignee: Sunil G
>         Attachments: YARN-6789-YARN-3926.001.patch
>
>
> It will be better to provide an api to get all supported resource types from RM.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
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