Skip to content

Added --hostname to docker run command for spark-run#4331

Merged
nemacysts merged 1 commit into
masterfrom
timma/pass_hostname_to_docker_run_cmd_for_spark-run
Jun 11, 2026
Merged

Added --hostname to docker run command for spark-run#4331
nemacysts merged 1 commit into
masterfrom
timma/pass_hostname_to_docker_run_cmd_for_spark-run

Conversation

@timma-yelp

Copy link
Copy Markdown
Contributor

For spark-run to work properly on yelp's internal dev-boxes, hostname needs to be fqdn instead of short name
By adding --hostname to docker run command, spark.driver.host gets the fqdn instead of the short name and fixes the error

Caused by: java.net.UnknownHostException:

@timma-yelp timma-yelp requested a review from nemacysts June 11, 2026 10:11
@nemacysts nemacysts merged commit 3878086 into master Jun 11, 2026
10 checks passed
@timma-yelp timma-yelp deleted the timma/pass_hostname_to_docker_run_cmd_for_spark-run branch June 11, 2026 13:39
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.

2 participants