121122123124125126127
return new WCMapReduceApp(10, "/Users/brlee/Workspace/WordCountFiles", 3); } }); actor.start(); actor.sendOneWay(new StartWork()); }
34353637383940
public class FaultToleranceApp extends BaseRootSupervisorImpl { public static void main( String[] args ) { ActorRef master = actorOf(FaultToleranceApp.class); master.sendOneWay(new StartWork()); }