添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

Received this error:

java.net.BindException: Can't assign requested address: Service 'sparkDriver' failed after 16 retries

Luckily, I found this stackoverflow post, listing instructions:

  • run hostname
  • check if the output is present in /etc/hosts
  • assuming hostname returned potato, you should have in /etc/hosts a line like this:
  • 127.0.0.1 potato
  • run the java code again, and it should pass
  •