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

Alan Burlison commented on YARN-3718:
-------------------------------------

As far as I can tell, the solution on BSD is just to disable all resource 
management features at compile-time. Whilst that approach should probably be 
taken on initially Solaris, if it makes sense to use RM features on Linux it 
almost certainly does on Solaris as well. To do that requires taking a close 
look at how the Linux Cgroup features are currently used and if necessary 
abstracting that functionality so it can be implemented using both Linux and 
Solaris RM functionality.

> hadoop-yarn-server-nodemanager's use of Linux Cgroups is non-portable
> ---------------------------------------------------------------------
>
>                 Key: YARN-3718
>                 URL: https://issues.apache.org/jira/browse/YARN-3718
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: nodemanager
>    Affects Versions: 2.7.0
>         Environment: BSD OSX Solaris Windows Linux
>            Reporter: Alan Burlison
>
> hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/container-executor.c
>  makes use of the Linux-only Cgroups feature 
> (http://en.wikipedia.org/wiki/Cgroups) when Hadoop is built on Linux, but 
> there is no corresponding functionality for non-Linux platforms.
> Other platforms provide similar functionality, e.g. Solaris has an extensive 
> range of resource management features 
> (http://docs.oracle.com/cd/E23824_01/html/821-1460/index.html). Work is 
> needed to abstract the resource management features of Yarn so that the same 
> facilities for resource management can be provided on all platforms that 
> provide the requisite functionality,



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to