FantasticGirlisMe 2016-03-28 12:30 采纳率: 62.5%
浏览 2332

在Linux部署hadoop,启动出错

启动时整个输出很多信息,正常情况下,应该只有几行,启动了namenode、datanode等,
但是我在启动的时候却一直报‘ssh: Could not resolve hostname ’
具体信息如下:

[root@hbase ~]# start-dfs.sh

 with: ssh: Could not resolve hostname with: Temporary failure in name resolution
it: ssh: Could not resolve hostname it: Temporary failure in name resolution
<libfile>',: ssh: Could not resolve hostname <libfile>',: Temporary failure in name resolution
'-z: ssh: Could not resolve hostname '-z: Temporary failure in name resolution
hbase: starting namenode, logging to /usr/local/hadoop-2.6.0/logs/hadoop-root-namenode-hbase.out
hbase: starting datanode, logging to /usr/local/hadoop-2.6.0/logs/hadoop-root-datanode-hbase.out
Starting secondary namenodes [Java HotSpot(TM) Client VM warning: You have loaded library /usr/local/hadoop-2.6.0/lib/native/libhadoop.so.1.0.0 which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
0.0.0.0]
sed: -e expression #1, char 6: unknown option to `s'
You: ssh: Could not resolve hostname You: Temporary failure in name resolution
warning:: ssh: Could not resolve hostname warning:: Temporary failure in name resolution
loaded: ssh: Could not resolve hostname loaded: Temporary failure in name resolution
which: ssh: Could not resolve hostname which: Temporary failure in name resolution
library: ssh: Could not resolve hostname library: Temporary failure in name resolution
HotSpot(TM): ssh: Could not resolve hostname HotSpot(TM): Temporary failure in name resolution
VM: ssh: Could not resolve hostname VM: Temporary failure in name resolution
Java: ssh: Could not resolve hostname Java: Temporary failure in name resolution
stack: ssh: Could not resolve hostname stack: Temporary failure in name resolution
have: ssh: Could not resolve hostname have: Temporary failure in name resolution
have: ssh: Could not resolve hostname have: Temporary failure in name resolution
The: ssh: Could not resolve hostname The: Temporary failure in name resolution
Client: ssh: Could not resolve hostname Client: Temporary failure in name resolution
might: ssh: Could not resolve hostname might: Temporary failure in name resolution
fix: ssh: Could not resolve hostname fix: Temporary failure in name resolution
will: ssh: Could not resolve hostname will: Temporary failure in name resolution
disabled: ssh: Could not resolve hostname disabled: Temporary failure in name resolution
the: ssh: Could not resolve hostname the: Temporary failure in name resolution
try: ssh: Could not resolve hostname try: Temporary failure in name resolution
VM: ssh: Could not resolve hostname VM: Temporary failure in name resolution.........
  • 写回答

3条回答 默认 最新

  • oyljerry 2016-03-28 12:59
    关注

    你的系统hostname配置有没有正确。

    评论

报告相同问题?

悬赏问题

  • ¥15 名为“Product”的列已属于此 DataTable
  • ¥15 安卓adb backup备份应用数据失败
  • ¥15 eclipse运行项目时遇到的问题
  • ¥15 关于#c##的问题:最近需要用CAT工具Trados进行一些开发
  • ¥15 南大pa1 小游戏没有界面,并且报了如下错误,尝试过换显卡驱动,但是好像不行
  • ¥15 没有证书,nginx怎么反向代理到只能接受https的公网网站
  • ¥50 成都蓉城足球俱乐部小程序抢票
  • ¥15 yolov7训练自己的数据集
  • ¥15 esp8266与51单片机连接问题(标签-单片机|关键词-串口)(相关搜索:51单片机|单片机|测试代码)
  • ¥15 电力市场出清matlab yalmip kkt 双层优化问题