启动hadoop时发现jobTracker 没有启动
查看日志:
[Fatal Error] core-site.xml:35:1: XML document structures must start and end within the same entity.
Exception in thread "main" java.lang.ExceptionInInitializerEr
at org.apache.hadoop.mapred.JobTracker.<clinit>(JobTracker.java:4126)
是host 的IP与主机名未绑定
重启hadoop 结果:
思考:修改主机IP后,需要将主机名与修改后的ip重新绑定