How to choose the queue for Spark job using spark-submit?

二次信任 提交于 2020-07-17 17:43:12

问题


Is there a way to provide parameters or settings to choose the queue in which I'd like my spark_submit job to run?


回答1:


By using --queue So an example of a spark-submit job would be:-

spark-submit --master yarn --conf spark.executor.memory=48G --conf spark.driver.memory=6G --packages [packages separated by ,] --queue [queue_name] --class [class_name] [jar_file] [arguments]



来源:https://stackoverflow.com/questions/43551337/how-to-choose-the-queue-for-spark-job-using-spark-submit

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!