- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2025 11:43 PM - edited 12-01-2025 11:45 PM
I am encountering multiple issues in our Databricks environment and would appreciate guidance or best-practice recommendations for each. Details below:
1. [MaxSparkContextsExceeded] Too many execution contexts are open right now (Limit 150)
Error:
Suspecting that Spark contexts are not being released properly.
Multiple scheduled notebooks may be causing accumulation.
Questions:
Common causes of hitting this 150 SparkContext limit?
How to inspect which jobs/notebooks are holding open contexts?
Any cleanup patterns or cluster settings recommended?
2. 20 Concurrent Databricks Notebooks Triggered
We trigger ~20 notebooks at the same time on the same cluster.
Questions:
Any Databricks concurrency limits at the cluster/job level?
How to throttle or queue notebook runs?
3. Databricks API 10k Character Limit
We’re hitting a request size restriction (~10,000 characters) when interacting with Databricks API.
Questions:
What is the official request/response size limit?
Is the 10k cap configurable?
Request
Looking for:
Explanation of why these happen
How to diagnose root causes
Recommended best practices for preventing them
Any guidance or references to Databricks documentation would be very helpful.