spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wush Wu <>
Subject Re: Run spark on mesos remotely
Date Fri, 28 Mar 2014 01:32:51 GMT
Dear Rustagi,

Thanks for you response.

As far as I know, the DAG scheduler should be a part of spark. Therefore,
should I do something not mentioned in to
launch the DAG scheduler?

By the way, I also notice that the user of the submission becomes the
account on my machine. I doubt that there is a permission issue, so the
executor cannot copy the file from spark.execute.uri. After changing the
account to the same username on the mesos cluster, the executor
successfully copy the file from  spark.execute.uri, but it reports the
following error message:

log4j:WARN No appenders could be found for logger
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See for
more info.
org.apache.spark.SparkException: Error sending message to
BlockManagerMaster [message =
pc104, 42356, 0),339585269,Actor[akka://spark/user/BlockManagerActor1])]
at org.apache.spark.executor.Executor.<init>(Executor.scala:111)
Caused by: java.util.concurrent.TimeoutException: Futures timed out after
[10000] milliseconds
 at akka.dispatch.DefaultPromise.ready(Future.scala:870)
at akka.dispatch.DefaultPromise.result(Future.scala:874)
 at akka.dispatch.Await$.result(Future.scala:74)
 ... 8 more
Exception in thread "Thread-0"

Is there any suggestion to handle the error above?


2014-03-28 4:09 GMT+08:00 Mayur Rustagi <>:

> Yes but you have to maintain connection of that machine to the master
> cluster as the driver with DAG scheduler runs on that machine.
> Regards
> Mayur
> Mayur Rustagi
> Ph: +1 (760) 203 3257
> @mayur_rustagi <>
> On Thu, Mar 27, 2014 at 4:09 AM, Wush Wu <> wrote:
>> Dear all,
>> We have a spark 0.8.1 cluster on mesos 0.15. It works if I submit the job
>> from the master of mesos. That is to say, I spawn the spark shell or launch
>> the scala application on the master of mesos.
>> However, when I submit the job from another machine, the job will lost.
>> The logs shows that the mesos does not copy the
>> spark-0.8.1-incubating.tar.gz to the temporal working directory, so the job
>> lost immediately. Is it possible to submit the job from the machine not
>> belong to mesos cluster?
>> Thanks!
>> Wush

View raw message