Skip to content

CASSANALYTICS-67: Turn off Spark UI as part of tests#208

Closed
tejaslodayadd wants to merge 1 commit into
apache:trunkfrom
tejaslodayadd:CASSANALYTICS-67-disable-spark-ui-in-tests
Closed

CASSANALYTICS-67: Turn off Spark UI as part of tests#208
tejaslodayadd wants to merge 1 commit into
apache:trunkfrom
tejaslodayadd:CASSANALYTICS-67-disable-spark-ui-in-tests

Conversation

@tejaslodayadd
Copy link
Copy Markdown
Contributor

@tejaslodayadd tejaslodayadd commented May 18, 2026

The Spark UI is started by default on port 4040 (with retries on
conflict) for every SparkSession created in the test suites. It serves
no purpose during automated testing, consumes resources, and is a
common source of port-binding noise when tests run in parallel.

Disable it in the two places that build test SparkSessions:
 - SparkTestUtils.defaultSparkConf (used by all integration tests,
   including SharedClusterSparkIntegrationTestBase and
   CoordinatedBulkWriteSimpleTest)
 - TestUtils.Holder#createSession (the shared unit-test SparkSession in
   cassandra-analytics-core)

Patch by Tejas Lodaya for CASSANALYTICS-67
Copy link
Copy Markdown
Contributor

@frankgh frankgh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 nice improvement!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants