Created 06-19-2018 03:20 PM
spark-submit --num-executors 10 --executor-memory 2g --master yarn --deploy-mode cluster --queue root.opt.iliak --conf spark.yarn.submit.waitAppCompletion=false --files run.py
gives error
Exception in thread "main" org.apache.hadoop.yarn.exceptions.YarnException: Failed to submit application_1529419461764_0004 to YARN : Application application_1529419461764_0004 submitted by user iliak to unknown queue: root.opt.iliak
while submiting to queue "default" works (root.defult queue exists)
Created 06-20-2018 01:23 PM
Created 06-20-2018 01:23 PM
where exectly?
Created on 06-20-2018 03:43 PM - edited 08-17-2019 06:40 PM
I think this is completely off from what it is described in the question description. If disabling queue is your current goal.
Goto Ranger admin UI -> Service Manager -> Click Yarn -> Create/edit existing policy. There you will find toggle to enable/disable, Choose disable.
Created 06-27-2018 12:08 PM
I found a working dirty solution, added the queues as follow:
and updated the submission script to match it