You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
then Spark fails to launch. master_host, in particular, gets plugged into SPARK_MASTER_IP in this template, which seems to set off the problem.
For whatever reason, DNS names work but IP addresses don't. I'm not sure why. Spark's documentation suggests that IP addresses shouldwork.
I've probably misunderstood something about how to configure Spark. Another possibility is that there is a documentation or code bug in Spark itself that needs to be fixed.
One clue I've come across but not tested out is the fact that SPARK_MASTER_HOST is checked here, even though it is not mentioned anywhere else in the Spark codebase. I have a suspicion that SPARK_MASTER_HOST should instead be SPARK_MASTER_IP.
What I can say for certain is that this file is where some master configurations get set, and I have traced code there from start-master.sh. So it's probably a good place to start digging.
The text was updated successfully, but these errors were encountered:
Hmm, I tried recompiling Spark with that SPARK_MASTER_HOST entry changed to SPARK_MASTER_IP, but it didn't change Spark's behavior. This is probably a tricky issue to track down and understand.
This is a mystery that someone can take on for fun or for glory.
If I change these two blocks of code from this:
to this:
then Spark fails to launch.
master_host
, in particular, gets plugged intoSPARK_MASTER_IP
in this template, which seems to set off the problem.For whatever reason, DNS names work but IP addresses don't. I'm not sure why. Spark's documentation suggests that IP addresses should work.
I've probably misunderstood something about how to configure Spark. Another possibility is that there is a documentation or code bug in Spark itself that needs to be fixed.
One clue I've come across but not tested out is the fact that
SPARK_MASTER_HOST
is checked here, even though it is not mentioned anywhere else in the Spark codebase. I have a suspicion thatSPARK_MASTER_HOST
should instead beSPARK_MASTER_IP
.What I can say for certain is that this file is where some master configurations get set, and I have traced code there from
start-master.sh
. So it's probably a good place to start digging.The text was updated successfully, but these errors were encountered: