Spark fails to start in local mode when disconnected [Possible bug in handling IPv6 in Spark??]

后端 未结 6 2011
轻奢々
轻奢々 2021-02-05 16:53

The problem is the same as described here Error when starting spark-shell local on Mac

... but I have failed to find a solution. I also used to get the malformed URI err

6条回答
  •  北海茫月
    2021-02-05 17:34

    The first thing to check is probably /etc/hosts. Make sure that you have the following entry:

    127.0.0.1      localhost
    

    If the above does not work, then the following should do the trick:

     sudo hostname -s 127.0.0.1
    

提交回复
热议问题