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 <[email protected]> wrote: > Currently contained monitor works only on Linux. > > Looking at code > org.apache.hadoop.yarn.server.nodemanager.containermanager.monitor.ContainerMonitorImpl > it seems best > to have pluggable processinfotree object instead of ContainerMonitor. > > ProcfsBasedProcessTree will be pluggable implementation something like > resourcecalculatorplugin. -- Harsh J
