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

Jason Lowe commented on YARN-6930:
----------------------------------

I'm not hung up on whether we go full-blown enums, but I do think we should not 
do "semi-reflection" with the base class names.  IMHO we should either do a 
full plugin interface with reflection or not use reflection at all.  Maybe 
others feel differently.

bq. When you say "list the ones we know about here", can you elaborate on what 
you mean?
Sorry, I meant in the property description for 
yarn.nodemanager.runtime.linux.allowed-runtimes in yarn-default, which last I 
checked was used to automatically generate the property documentation in the 
Hadoop docs.  If a user stumbles across this property, the description is not 
going to be sufficient to know what valid values are allowed.

> Admins should be able to explicitly enable specific LinuxContainerRuntime in 
> the NodeManager
> --------------------------------------------------------------------------------------------
>
>                 Key: YARN-6930
>                 URL: https://issues.apache.org/jira/browse/YARN-6930
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: nodemanager
>            Reporter: Vinod Kumar Vavilapalli
>            Assignee: Shane Kumpf
>         Attachments: YARN-6930.001.patch, YARN-6930.002.patch, 
> YARN-6930.003.patch
>
>
> Today, in the java land, all LinuxContainerRuntimes are always enabled when 
> using LinuxContainerExecutor and the user can simply invoke anything that 
> he/she wants - default, docker, java-sandbox.
> We should have a way for admins to explicitly enable only specific runtimes 
> that he/she decides for the cluster. And by default, we should have 
> everything other than the default one disabled.



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

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