打开hadoop-2.8.2/etc/hadoop目录下的yarn-site.xml 将其中的h.ostname改为address 总结L:xml里是根据name找value的 name不对它找不到有效的value值