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 in Apache Spark by Khan
112 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 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 in Apache Spark by Rohit
66 views
0 votes
1 answer

How to enable Spark event logging?

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

answered Mar 6 in Apache Spark by Rohit
75 views
0 votes
1 answer

How to increase Spark memory for execution?

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

answered Mar 7 in Apache Spark by Pavitra

edited Mar 7 19 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 in Apache Spark by Hari
229 views
0 votes
0 answers
0 votes
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,210 points
2,079 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,210 points
202 views
0 votes
10 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
10,676 views
0 votes
1 answer

How to change scheduling mode in Spark?

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

answered Mar 11 in Apache Spark by Raj
106 views
0 votes
1 answer

How can I run a blacklisted task?

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

answered Mar 11 in Apache Spark by Raj
9 views