Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 1
    This helped in my case. master("local[*]") did not. Commented Feb 24, 2023 at 8:54
  • Works for me, but the file is under spark/conf. You can use echo "export SPARK_LOCAL_IP=127.0.0.1" >> $SPARK_HOME/conf/spark-env.sh after defining SPARK_HOME if not already done.. Commented Jan 2, 2024 at 10:16
  • Doing this in load-spark-env.sh did not work for me but did work when I put it in .zshrc Commented Oct 22, 2024 at 13:38