Skip to content

Commit

Permalink
Disable Spark UI by default for integration tests (#10358)
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Lowe <jlowe@nvidia.com>
  • Loading branch information
jlowe authored Feb 2, 2024
1 parent 73b3279 commit c5dde86
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions integration_tests/run_pyspark_from_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,10 @@ else
# time zone will be tested; use export TZ=time_zone_name before run this script
TZ=${TZ:-UTC}

# Disable Spark UI by default since it is not needed for tests, and Spark can fail to start
# due to Spark UI port collisions, especially in a parallel test setup.
export PYSP_TEST_spark_ui_enabled=${PYSP_TEST_spark_ui_enabled:-false}

# Set the Delta log cache size to prevent the driver from caching every Delta log indefinitely
export PYSP_TEST_spark_driver_extraJavaOptions="-ea -Duser.timezone=$TZ -Ddelta.log.cacheSize=10 $COVERAGE_SUBMIT_FLAGS"
export PYSP_TEST_spark_executor_extraJavaOptions="-ea -Duser.timezone=$TZ"
Expand Down

0 comments on commit c5dde86

Please sign in to comment.