Github Action builds with spark failing with java.net.BindException with spark commands #26585
-
We started seeing this failure sporadically with our spark builds ubuntu 18.04, but it shows up all the time now. Fixed the Jenkins builds seem to be fine.
Any pointers to working around this issue for |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Also see github.com/apache/spark
Thanks for sending a pull request! Here are some tips for you:
What changes were proposed in this pull request?<!--
Why are the changes needed?<!--
In the added UT there are no nulls in the input Does this PR introduce any user-facing change?<!-- How was this patch tested?<!--
What changes are proposed in this pull request?A tempoarary workaround for #4229 I'm investigating why this issue suddenly started happening. How is this patch tested?(Details) Release NotesIs this a user-facing change?
(Details in 1-2 sentences. You can just refer to another PR with a description if this PR is part of a larger change.) What component(s), interfaces, languages, and integrations does this PR affect?Components
Interface
Language
Integrations
<!-- How should the PR be classified in the release notes? Choose one:
|
Beta Was this translation helpful? Give feedback.
-
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?
|
Beta Was this translation helpful? Give feedback.
-
Most likely attempt from github to break mining attacks by messing up hosts table. |
Beta Was this translation helpful? Give feedback.
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?