1. firstly, a mesos development environment should be built. Follow the instructions in mesos official website,