node = new MasterNode();
nodeConfig = new MasterConfig();
jobManager = new JobManager();
jobBuilder = new MixJobBuilder();
masterConnector = new SocketMasterConnector();
monitor = new MasterMonitor();
httpAgentNode = new HttpAgentNode();
((MasterNode)node).setConfig((MasterConfig)nodeConfig);
ObjectDecoder objDecoder = new ObjectDecoder(Integer.MAX_VALUE, ClassResolvers.weakCachingConcurrentResolver(this.getClass().getClassLoader()));