How to prevent executor from self-destructing

0 votes
Hi. The executors running are getting self-destructed. I tried to trace the problem and I think it is because some task had not stopped running. How to prevent this?
Mar 12, 2019 in Apache Spark by Shaan
1,089 views

1 answer to this question.

0 votes

I think there is a timeout set after which if the task does not stop running, then the executor will self-destruct. Try disabling it as follows:

val sc = new SparkContext(new SparkConf())
./bin/spark-submit <all your existing options> --spark.task.reaper.killTimeout=-1
answered Mar 12, 2019 by Veer

Related Questions In Apache Spark

0 votes
1 answer

How to disable executor from fetching file from cache?

When a Spark application is running, the ...READ MORE

answered Mar 10, 2019 in Apache Spark by Siri
2,490 views
0 votes
1 answer

How to stop messages from being displayed on spark console?

In your log4j.properties file you need to ...READ MORE

answered Apr 24, 2018 in Apache Spark by kurt_cobain
• 9,350 points
5,556 views
0 votes
1 answer

How to save and retrieve the Spark RDD from HDFS?

You can save the RDD using saveAsObjectFile and saveAsTextFile method. ...READ MORE

answered May 29, 2018 in Apache Spark by Shubham
• 13,490 points
13,542 views
0 votes
1 answer

Prevent jobs to be killed from Web UI

You need to be careful with this. ...READ MORE

answered Mar 6, 2019 in Apache Spark by Rohit
672 views
+1 vote
2 answers
+1 vote
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
11,029 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
2,536 views
+2 votes
11 answers

hadoop fs -put command?

Hi, You can create one directory in HDFS ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
108,832 views
0 votes
1 answer

How can I remove headers from dataframe?

You can use filter to do this. ...READ MORE

answered Feb 15, 2019 in Apache Spark by Aryan
20,223 views
0 votes
1 answer

How to increase the amount of data to be transferred to shuffle service at the same time?

The amount of data to be transferred ...READ MORE

answered Mar 1, 2019 in Apache Spark by Omkar
• 69,220 points
1,002 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP