ssh: Could not resolve hostname DataNode1: Name or service not knownlinux
搭建hadoop集群过程当中 ssh链接其余节点时ssh
ssh hadoop@DataNode1oop
报错 ssh: Could not resolve hostname DataNode1: Name or service not knownspa
--------ip
解决:hadoop
linux主机名的相关配置文件就是/etc/hostsit
这个文件里不光要配置本机ip和主机名,还要配置链接节点的ip和主机名集群