generate script to start/stop the hadoop cluster based on the current hadoop version