在代码里面:
SparkLauncher launcher = null;
launcher.setAppResource(SPARK_JAR);
launcher.setMainClass(SPARK_MAIN_CLASS);
launcher.setMaster(master);
launcher.setDeployMode(deployMod);
...
launcher.startApplication()
运行这个代码,监控spark任务状态,状态为submitting的时间大概有三十秒,也就是提交spark任务就花费了30s,请问有什么办法将时间缩短吗?