问题现象:
Exiting with status 1: java.net.BindException: Port in use: localhost:0
解决:
在/etc/hosts文件开头添加如下内容
::1 localhost 127.0.0.1 localhost
接着,重新启动datanode
问题现象:
Exiting with status 1: java.net.BindException: Port in use: localhost:0
解决:
在/etc/hosts文件开头添加如下内容
::1 localhost 127.0.0.1 localhost
接着,重新启动datanode
转载于:https://www.cnblogs.com/yjt1993/p/10510128.html