nodeConfig = new SlaveConfig();
slaveConnector = new SocketSlaveConnector();
monitor = new SlaveMonitor();
statisticsEngine = new StatisticsEngine();
httpInputAdaptor = new HttpInputAdaptor();
hdfsInputAdaptor = new HdfsInputAdaptor();
fileInputAdaptor = new FileInputAdaptor();
hubInputAdaptor = new HubInputAdaptor();
fileOutputAdaptor = new FileOutputAdaptor();
try {