Check the reason for the error: java.net.BindException : Cannot assign requested address: Service ‘sparkDriver’ failed after 16 retries (starting from 0)! Consider explicitly setting the appropriate port for the service ‘sparkDriver’ (for example spark.ui.port for SparkUI) to an available port or increasing spark.port.maxRetries .
When I wipe it, I can’t find the corresponding host. Then I go to see if there is something wrong with the mapping of the hosts file,
sure enough.
Previously, in order to access the Internet, IP was changed to DHCP (dynamic), so the current IP and hosts files are inconsistent.
After changing the hosts file. 666, you can go in again.