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
740 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

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
632 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
507 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 60 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
1,384 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
• 10,870 points
4,586 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,870 points
652 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
26,034 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
444 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
41 views