You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Alan Burlison (JIRA)" <ji...@apache.org> on 2016/04/01 15:43:25 UTC

[jira] [Commented] (YARN-3773) hadoop-yarn-server-nodemanager's use of Linux /sbin/tc is non-portable

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

Alan Burlison commented on YARN-3773:
-------------------------------------

I hadn't drilled down so I wasn't sure if it did/didn't get executed elsewhere. In any case, equivalent functionality is needed on other platforms.

> hadoop-yarn-server-nodemanager's use of Linux /sbin/tc is non-portable
> ----------------------------------------------------------------------
>
>                 Key: YARN-3773
>                 URL: https://issues.apache.org/jira/browse/YARN-3773
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: nodemanager
>         Environment: BSD OSX Solaris Windows Linux
>            Reporter: Alan Burlison
>            Assignee: 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 executable /sbin/tc (http://lartc.org/manpages/tc.txt)  but there is no corresponding functionality for non-Linux platforms. The code in question also seems to try to execute tc even on platforms where it will never exist.
> Other platforms provide similar functionality, e.g. Solaris has an extensive range of network management features (http://www.oracle.com/technetwork/articles/servers-storage-admin/o11-095-s11-app-traffic-525038.html). Work is needed to abstract the network management features of Yarn so that the same facilities for network management can be provided on all platforms that provide the requisite functionality,



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