Hbase代码运行报错:no route to host......

Hbase 代码运行报错:no route to host:no further information…

在这里插入图片描述
解决方法

window系统:

检查window的hosts文件(路径:C:\Windows\System32\drivers\etc\hosts)
查看配置的ip和自己虚拟机的实际ip是否一致

Mac系统:

进入终端控制台:vi /etc/hosts 检查IP和主机名的配置

修改之后再次运行代码即可

猜你喜欢

转载自blog.csdn.net/weixin_41907283/article/details/129688583