You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by "Tracewski, Lukasz " <lu...@credit-suisse.com> on 2015/09/25 10:35:18 UTC

Error: Asked to remove non-existent executor

Hi,

I am trying to submit a job on Spark 1.4 (with Spark Master):

bin/spark-submit --master spark://<address>:7077 --driver-memory 4g --executor-memory 4G  --executor-cores 4 --num-executors 1 spark/examples/src/main/python/pi.py 6

which returns:

ERROR SparkDeploySchedulerBackend: Asked to remove non-existent executor <here growing integers>

On Spark Master I see that the job is indeed submitted. Running locally goes fine.

I am behind NAT. From what I read it might be that the Master cannot find Worker nodes. Could it be the case? Any ideas how to resolve it?

Cheers,
Lucas


=============================================================================== 
Please access the attached hyperlink for an important electronic communications disclaimer: 
http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html 
=============================================================================== 

Re: Error: Asked to remove non-existent executor

Posted by Akhil Das <ak...@sigmoidanalytics.com>.
What you mean by you are behind a NAT? Does it mean you are submitting your
jobs to a remote spark cluster from your local machine? If that's the case
then you need to take care of few ports (in the NAT)
http://spark.apache.org/docs/latest/configuration.html#networking which
assume random as default like spark.driver.port, spark.driver.host etc.
Also you'd have to set those in the SparkConf properly.

Thanks
Best Regards

On Fri, Sep 25, 2015 at 2:05 PM, Tracewski, Lukasz <
lukasz.tracewski@credit-suisse.com> wrote:

> Hi,
>
>
>
> I am trying to submit a job on Spark 1.4 (with Spark Master):
>
>
>
> bin/spark-submit --master spark://<address>:7077 --driver-memory 4g
> --executor-memory 4G  --executor-cores 4 --num-executors 1
> spark/examples/src/main/python/pi.py 6
>
>
>
> which returns:
>
>
>
> ERROR SparkDeploySchedulerBackend: Asked to remove non-existent executor
> <here growing integers>
>
>
>
> On Spark Master I see that the job is indeed submitted. Running locally
> goes fine.
>
>
>
> I am behind NAT. From what I read it might be that the Master cannot find
> Worker nodes. Could it be the case? Any ideas how to resolve it?
>
>
>
> Cheers,
>
> Lucas
>
>
>
> ==============================================================================
> Please access the attached hyperlink for an important electronic
> communications disclaimer:
> http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
>
> ==============================================================================
>