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 12, 2019 in Apache Spark by Khan
7,198 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 12, 2019 by Raj

Is it spark.scheduler.listenerbus.eventqueue.size or spark.scheduler.listenerbus.eventqueue.capacity?

I think, it is spark.scheduler.listenerbus.eventqueue.capacity. In spark documentation, there is no property available as spark.scheduler.listenerbus.eventqueue.size. You can go through the below link.

https://people.apache.org/~pwendell/spark-nightly/spark-master-docs/latest/configuration.html

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
4,532 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
2,896 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 8, 2019 1,178 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
9,029 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,033 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,540 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,853 views
0 votes
1 answer

How to change scheduling mode in Spark?

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

answered Mar 12, 2019 in Apache Spark by Raj
2,322 views
0 votes
1 answer

How can I run a blacklisted task?

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

answered Mar 12, 2019 in Apache Spark by Raj
1,178 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