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

Wangda Tan commented on YARN-9087:
----------------------------------

[~snemeth], Device plugin framework is for the future plugins. We won't 
"deprecate" existing GPU implementation. But I can expect once device plugin 
framework becomes ready, we can do refactoring to make better code structure 
and more maintainable.

The nvidia-docker-plugin has two versions, v1 and v2. As of now, we're using v1 
nvidia-docker-plugin, which is deprecated by nvidia. There's a patch to support 
v2 plugin. (YARN-8822). Same to existing GPU implementation, once device plugin 
framework becomes ready, we will refactor the code to use that if efforts are 
reasonable.

> Better logging for initialization of Resource plugins
> -----------------------------------------------------
>
>                 Key: YARN-9087
>                 URL: https://issues.apache.org/jira/browse/YARN-9087
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: yarn
>            Reporter: Szilard Nemeth
>            Assignee: Szilard Nemeth
>            Priority: Major
>         Attachments: YARN-9087.001.patch
>
>
> The patch includes the following enahncements for logging: 
> - Logging initializer code of resource handlers in 
> {{LinuxContainerExecutor#init}}
> - Logging initializer code of resource plugins in 
> {{ResourcePluginManager#initialize}}
> - Added toString to {{ResourceHandlerChain}}
> - Added toString to all implementations to subclasses of {{ResourcePlugin}} 
> as they are printed in {{ResourcePluginManager#initialize}}
> - Added toString to all implementations to subclasses of {{ResourceHandler}} 
> as they are printed as a field of the {{LinuxContainerExecutor#init}}



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

Reply via email to