Hadoop数据节点无法启动

时间:2016-03-22 17:37:56

标签: hadoop

启动hadoop群集时出现以下错误。我已经验证了DNS解析,它运行得很好。此外,我能够使用密码ssh到所有数据节点。我无法理解数据节点失败的原因,未找到名称或服务。名称节点,日记节点正在启动而没有任何问题。任何解决此问题的指针。提前谢谢。

16/03/22 12:06:55 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Starting namenodes on [infl1089 infl1087]
infl1089: Red Hat Enterprise Linux Server release 6.5 (Santiago)
infl1089: Kernel 2.6.32-431.el6.x86_64 on an x86_64
infl1089:
infl1087: Red Hat Enterprise Linux Server release 6.5 (Santiago)
infl1087: Kernel 2.6.32-431.el6.x86_64 on an x86_64
infl1087:
infl1089: starting namenode, logging to /var/hadoop/logs/hadoop-hduser-namenode-infl1089.out
infl1087: starting namenode, logging to /var/hadoop/logs/hadoop-hduser-namenode-infl1087.out
: Name or service not knownstname infl1090
: Name or service not knownstname infl1110
: Name or service not knownstname infl1091
Starting journal nodes [infl1087 infl1089 infl1090]
infl1089: Red Hat Enterprise Linux Server release 6.5 (Santiago)
infl1089: Kernel 2.6.32-431.el6.x86_64 on an x86_64
infl1089:
infl1087: Red Hat Enterprise Linux Server release 6.5 (Santiago)
infl1087: Kernel 2.6.32-431.el6.x86_64 on an x86_64
infl1087:
infl1090: Red Hat Enterprise Linux Server release 6.5 (Santiago)
infl1090: Kernel 2.6.32-431.el6.x86_64 on an x86_64
infl1090:
infl1087: starting journalnode, logging to /var/hadoop/logs/hadoop-hduser-journalnode-infl1087.out
infl1089: starting journalnode, logging to /var/hadoop/logs/hadoop-hduser-journalnode-infl1089.out
infl1090: starting journalnode, logging to /var/hadoop/logs/hadoop-hduser-journalnode-infl1090.out
16/03/22 12:07:08 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Starting ZK Failover Controllers on NN hosts [infl1089 infl1087]
infl1089: Red Hat Enterprise Linux Server release 6.5 (Santiago)
infl1089: Kernel 2.6.32-431.el6.x86_64 on an x86_64
infl1089:
infl1087: Red Hat Enterprise Linux Server release 6.5 (Santiago)
infl1087: Kernel 2.6.32-431.el6.x86_64 on an x86_64
infl1087:
infl1087: starting zkfc, logging to /var/hadoop/logs/hadoop-hduser-zkfc-infl1087.out
infl1089: starting zkfc, logging to /var/hadoop/logs/hadoop-hduser-zkfc-infl1089.out

1 个答案:

答案 0 :(得分:0)

这是由于奴隶文件从Windows移动到unix而没有进行文件格式转换。将文件格式转换为unix修复它。