How to make driver update metrics quickly to executor

0 votes
Hi. I have a Spark application running and there some tasks in progress. I want the driver to update the metrics faster to the executor. How can I do this?
Mar 10, 2019 in Apache Spark by Shaan
524 views

1 answer to this question.

0 votes

There's a heartbeat signal sent to the driver to inform it that the executor is still alive and then the driver updates the metrics. To update the metrics, you can change the time interval of the heartbeat. By default, it set to 10s. To change it, refer to the following command:

val sc = new SparkContext(new SparkConf())
./bin/spark-submit <all your existing options> --spark.executor.heartbeatInterval=<time in seconds>
answered Mar 10, 2019 by Siri

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,097 views
0 votes
1 answer

How to change block manager port for driver only?

Yes, it is possible to change the ...READ MORE

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

How to make Spark wait for more time for acknowledgement?

Use the following command to increase the ...READ MORE

answered Mar 11, 2019 in Apache Spark by Raj
2,140 views
0 votes
1 answer

How to make Spark skip node locality?

If you set the node wait time ...READ MORE

answered Mar 11, 2019 in Apache Spark by Raj
825 views
0 votes
1 answer

How to prevent executor from self-destructing?

I think there is a timeout set ...READ MORE

answered Mar 12, 2019 in Apache Spark by Veer
700 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,390 points
5,066 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
10,619 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,215 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
104,961 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