`
knight_black_bob
  • 浏览: 850302 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

guard.: ssh: Could not resolve hostname guard.: Name or service not known to: ss

阅读更多

hadoop 安装的时候,报错信息

 

guard.: ssh: Could not resolve hostname guard.: Name or service not known
to: ssh: Could not resolve hostname to: Name or service not known
have: ssh: Could not resolve hostname have: Name or service not known
HotSpot(TM): ssh: Could not resolve hostname hotspot(tm): Name or service not known
will: ssh: Could not resolve hostname will: Name or service not known
fix: ssh: Could not resolve hostname fix: Name or service not known
disabled: ssh: Could not resolve hostname disabled: Name or service not known
You: ssh: Could not resolve hostname you: Name or service not known
The: ssh: Could not resolve hostname the: Name or service not known
library: ssh: Could not resolve hostname library: Name or service not known
VM: ssh: Could not resolve hostname vm: Name or service not known
Java: ssh: Could not resolve hostname java: Name or service not known
64-Bit: ssh: Could not resolve hostname 64-bit: Name or service not known
that: ssh: Could not resolve hostname that: Name or service not known
guard: ssh: Could not resolve hostname guard: Name or service not known
highly: ssh: Could not resolve hostname highly: Name or service not known
recommended: ssh: Could not resolve hostname recommended: Name or service not known
Server: ssh: Could not resolve hostname server: Name or service not known
stack: ssh: Could not resolve hostname stack: Name or service not known
it: ssh: Could not resolve hostname it: Name or service not known
have: ssh: Could not resolve hostname have: Name or service not known
It's: ssh: Could not resolve hostname it's: Name or service not known
warning:: ssh: Could not resolve hostname warning:: Name or service not known

 

 

主要是在环境变量中没有加入

 

export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOME/lib/native
    export HADOOP_OPTS="-Djava.library.path=$HADOOP_HOME/lib"

只要在~/.bash_profile里边加入如下内容 然后启动就没有问题了

 

 

export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOME/lib/native  
export HADOOP_OPTS="-Djava.library.path=$HADOOP_HOME/lib"  

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

捐助开发者 

在兴趣的驱动下,写一个免费的东西,有欣喜,也还有汗水,希望你喜欢我的作品,同时也能支持一下。 当然,有钱捧个钱场(支持支付宝和微信 以及扣扣群),没钱捧个人场,谢谢各位。

 

个人主页http://knight-black-bob.iteye.com/



 
 
 谢谢您的赞助,我会做的更好!

0
0
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics