Working both locally in eclipse and on the mesos cluster