Search code examples
apache-sparkqueuebigdata

What is use of Yarn/any queue while executing spark-submit?


I am trying to understand why do we need to give a queue while executing spark-submit? What role does it play and why is needed and how is it used? I am trying to understand spark and relatively new to it. So please point me if there is an answer/explanation already

PS: Couldn't find any proper explanation for the above question and thus posting in this community


Solution

  • If you're talking about the queue parameter in YARN mode then it is

    The name of the YARN queue to which the application is submitted. To get more details about the subject you can look at:

    But in general, the YARN queue is just a way to isolate resource usage between different processes.