If you make the proposed changes this could be simplified to just saying that you can run it in yarn-client mode.