hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bikas Saha <bi...@hortonworks.com>
Subject Re: OS Independent container monitor
Date Thu, 26 Apr 2012 07:01:31 GMT
+1 for making ProcfsBasedProcessTree an implementation of a pluggable
interface. Will help projects like the port to Windows.

On 4/25/12 11:14 PM, "Harsh J" <harsh@cloudera.com> wrote:

>I like the idea, and more portable code is good (although we should
>also allow per-platform overrides in case that can provide better
>results). Can you file a JIRA for this with your ideas/implementation
>and provide back a link on this conversation?
>
>On Thu, Apr 26, 2012 at 3:19 AM, Radim Kolar <hsn@filez.com> wrote:
>> Currently contained monitor works only on Linux.
>>
>> Looking at code
>> 
>>org.apache.hadoop.yarn.server.nodemanager.containermanager.monitor.Contai
>>nerMonitorImpl
>> it seems best
>> to have pluggable processinfotree object instead of ContainerMonitor.
>>
>> ProcfsBasedProcessTree will be pluggable implementation something like
>> resourcecalculatorplugin.
>
>
>
>-- 
>Harsh J
>        String[] wargs = { "taskkill", "F", "/PID ", pid };
>        args = wargs;
>



Mime
View raw message