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

Wangda Tan commented on YARN-6852:
----------------------------------

[~tangzhankun], 

I'm not quite sure about what does the first-class citizen means? In my mind 
all supported resource types committed to YARN are first-class citizen.

For every new added resource types which need to be isolated/enforced in NM 
side, it will be unavoidably to change at least ResourceHandler (so only add 
.so is not enough), and for resource type needs additional permissions, c-e 
changes are required. This is because model of different resource types are 
quite different, for example, GPU supports need to use binaries like nvidia-smi 
to detect host OS's GPU information, but FPGA may not need. And IIUC, NUMA 
support only needs ResourceHandler changes but don't need changes to c-e.

> [YARN-6223] Native code changes to support isolate GPU devices by using 
> CGroups
> -------------------------------------------------------------------------------
>
>                 Key: YARN-6852
>                 URL: https://issues.apache.org/jira/browse/YARN-6852
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Wangda Tan
>            Assignee: Wangda Tan
>             Fix For: 3.0.0-beta1
>
>         Attachments: YARN-6852.001.patch, YARN-6852.002.patch, 
> YARN-6852.003.patch, YARN-6852.004.patch, YARN-6852.005.patch, 
> YARN-6852.006.patch, YARN-6852.007.patch, YARN-6852.008.patch, 
> YARN-6852.009.patch
>
>
> This JIRA plan to add support of:
> 1) Isolation in CGroups. (native side).



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

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

Reply via email to