Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 270
asarapure Avatar asked Apr 21 '17 20:04

asarapure


1 Answers

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]

like image 112
asarapure Avatar answered Sep 20 '22 04:09

asarapure