SPARK-1652: Spark submit should fail gracefully if YARN support not enabled