Alan Burlison created YARN-3773:
-----------------------------------

             Summary: adoop-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


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)

Reply via email to