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

2016-04-01 Thread Sidharta Seethana (JIRA)

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

Sidharta Seethana commented on YARN-3773:
-

Ok, thanks for the clarification. Could you please update the description 
accordingly? Folks running into this JIRA might get an incorrect impression of 
how the container-executor is used. 

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


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

2016-04-01 Thread Alan Burlison (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-3773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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)


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

2016-03-21 Thread Sidharta Seethana (JIRA)

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

Sidharta Seethana commented on YARN-3773:
-

Hi [~alanburlison],

Could you please elaborate what you are referring to here?

{quote}
The code in question also seems to try to execute tc even on platforms where it 
will never exist.
{quote}

The container-executor binary is only used by the LinuxContainerExecutor - so I 
am wondering what you meant by this. 

thanks,
-Sidharta




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