莫名其妙的主机名 VM_32_234_centos

在腾讯服务器上部署的时候出现的莫名其妙的错误,

我在配置文件上都写

master, node1, 

但是运行mapredure的时候的时候老是出现 

 Job job_1409546978133_0001 failed with state FAILED due to: Application application_1409546978133_0001 failed 2 times due to Error launching appattempt_1409546978133_0001_000002. Got exception: java.net.ConnectException: Call From VM_160_34_centos/10.207.160.34 to TENCENT64.site:46767 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: 

这种错误, 并且ResourceManager 会死掉, 

后台查看日志发现 java.net.UnknowHostException VM_32_234_centos 其中 VM_32_234_centos 是我的一个 node  的主机名,我不知道为什么我配置文件上写的配置会失效 详细配置查看我的另一篇博文, 但是我在hosts 上添加了一个配置, VM_32_234_centos   xx.xx.xx.xx 得以解决.

原文地址:https://www.cnblogs.com/mjorcen/p/3949595.html