LocalDistributedExecutor is now suited for execution out of eclipse: it terminates after it finished, Thread.sleep() is dynamic for a given number of TaskTrackers.