How to increase Spark listener bus event queue capacity?

0 votes
I am running a scheduler in Spark. I am facing a problem with the listener bus. The problem is that the listener events are getting dropped. So, I want to increase the capacity of the listener bus to hold more event queue. How can I do this?
Mar 11, 2019 in Apache Spark by Khan
474 views

1 answer to this question.

0 votes

The default capacity of listener bus is set to 10000. Try changing it to 20000:

val sc = new SparkContext(new SparkConf())
./bin/spark-submit <all your existing options> --spark.scheduler.listenerbus.eventqueue.capacity=20000
answered Mar 11, 2019 by Raj

Related Questions In Apache Spark

0 votes
1 answer

How to change the location of Spark event logs?

You can change the location where you ...READ MORE

answered Mar 6, 2019 in Apache Spark by Rohit
403 views
0 votes
1 answer

How to enable Spark event logging?

To make Spark store the event logs, ...READ MORE

answered Mar 6, 2019 in Apache Spark by Rohit
330 views
0 votes
1 answer

How to increase Spark memory for execution?

Probably the spill is because you have ...READ MORE

answered Mar 7, 2019 in Apache Spark by Pavitra

edited Mar 7, 2019 46 views
0 votes
1 answer

How to increase worker timeout in Spark application?

By default, the timeout is set to ...READ MORE

answered Mar 25, 2019 in Apache Spark by Hari
916 views
+1 vote
1 answer
+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
• 10,840 points
3,878 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
• 10,840 points
532 views
+1 vote
11 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyFr ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
20,531 views
0 votes
1 answer

How to change scheduling mode in Spark?

You can change the scheduling mode as ...READ MORE

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

How can I run a blacklisted task?

When a task results in too many ...READ MORE

answered Mar 11, 2019 in Apache Spark by Raj
36 views