how to run java/spark in YARN