I find the second sentence hard to parse. It could be interpreted to mean the only case in which you need sparkHome is in Mesos mode. You also need to set spark home when running in standalone mode. It might be good to either include both of these cases (and any others if there are others) or neither.