Re: Dead lock running multiple Spark jobs on Mesos

2014-05-25 Thread Andrew Ash
Hi Martin, Tim suggested that you pastebin the mesos logs -- can you share those for the list? Cheers, Andrew On Thu, May 15, 2014 at 5:02 PM, Martin Weindel martin.wein...@gmail.comwrote: Andrew, thanks for your response. When using the coarse mode, the jobs run fine. My problem is the

Re: Dead lock running multiple Spark jobs on Mesos

2014-05-16 Thread Martin Weindel
Andrew, thanks for your response. When using the coarse mode, the jobs run fine. My problem is the fine-grained mode. Here the parallel jobs nearly always end in a dead lock. It seems to have something to do with resource allocation, as Mesos shows neither used nor idle CPU resources in this

Re: Dead lock running multiple Spark jobs on Mesos

2014-05-13 Thread Andrew Ash
Are you setting a core limit with spark.cores.max? If you don't, in coarse mode each Spark job uses all available cores on Mesos and doesn't let them go until the job is terminated. At which point the other job can access the cores. https://spark.apache.org/docs/latest/running-on-mesos.html --