Btw, I'm on 0.9.1. Will setting a queue programmatically be available in 1.0?

Thanks,
Ron

Sent from my iPad

> On May 20, 2014, at 6:27 PM, Ron Gonzalez <zlgonza...@yahoo.com> wrote:
> 
> Hi Sandy,
>   Is there a programmatic way? We're building a platform as a service and 
> need to assign it to different queues that can provide different scheduler 
> approaches.
> 
> Thanks,
> Ron
> 
> Sent from my iPhone
> 
>> On May 20, 2014, at 1:30 PM, Sandy Ryza <sandy.r...@cloudera.com> wrote:
>> 
>> Hi Ron,
>> 
>> What version are you using?  For 0.9, you need to set it outside your code 
>> with the SPARK_YARN_QUEUE environment variable.
>> 
>> -Sandy
>> 
>> 
>>> On Mon, May 19, 2014 at 9:29 PM, Ron Gonzalez <zlgonza...@yahoo.com> wrote:
>>> Hi,
>>>   How does one submit a spark job to yarn and specify a queue?
>>>   The code that successfully submits to yarn is:
>>> 
>>>    val conf = new SparkConf()
>>>    val sc = new SparkContext("yarn-client", "Simple App", conf)
>>> 
>>>    Where do I need to specify the queue?
>>> 
>>>   Thanks in advance for any help on this...
>>> 
>>> Thanks,
>>> Ron
>> 

Reply via email to