Skip to content

Github Action builds with spark failing with java.net.BindException with spark commands #26585

Answered by nalinigans
nalinigans asked this question in Actions
Discussion options

You must be logged in to vote

The solution was to cleanup /etc/hosts that had numerous aliases for 127.0.0.1 and to assign both spark master and local ip to 127.0.0.1 in spark_env.sh, setting the shell env was not sufficient.

Anyone know why these exist in /etc/hosts for ubuntu 18.04 images?

127.0.0.1 stratum.antpool.com
127.0.0.1 gratified.approvalbureau.com
127.0.0.1 inpervious.choppedgreen.com
127.0.0.1 nonretractile.choppedgreen.com
127.0.0.1 asia.cryptonight-hub.miningpoolhub.com
...
127.0.0.1 hub.miningpoolhub.com

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants