linux-在Linux部署hadoop,启动出错

问题描述

在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.........

解决方案

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

解决方案二:

Linux的hadoop部署
在Linux系统上部署Hadoop运行环境
Linux下部署Hadoop伪分布模式

解决方案三:

你的hostname 和你Hadoop配置文件的不一致

时间: 2024-11-04 21:30:16

linux-在Linux部署hadoop,启动出错的相关文章

在linux下配置nexus后启动出错

问题描述 在linux下配置nexus后启动出错 Running Nexus OSS... wrapper | --> Wrapper Started as Console wrapper | Launching a JVM... wrapper | JVM exited while loading the application. jvm 1 | Exception in thread "main" java.lang.UnsupportedClassVersionError:

tomcat 部署后 启动出错

问题描述 tomcat 部署后 启动出错 严重: Error in resourceStart() 十一月 26, 2015 3:39:50 下午 org.apache.catalina.core.StandardContext startInternal 严重: Error getConfigured 十一月 26, 2015 3:39:50 下午 org.apache.catalina.core.StandardContext startInternal 严重: Context [/news

linux下tomcat部署应用后如何通过url访问文件

问题描述 linux下tomcat部署应用后如何通过url访问文件 是这样的,我的tomcat是在linux的/opt/server/tomcat这个目录下,端口9080.tomcat里部署的应用有写文件的功能,将文件写在/opt/awr/这个目录下,文件是html格式,1.html.现在我想在tomcat启动后,在浏览器里输入url就访问到这个html文件,请问该怎么办

开机启动项-linux下rc.d里面启动顺序

问题描述 linux下rc.d里面启动顺序 举例:在对应目录下有S50aaa,S51bbb启动脚本,我们知道aaa比bbb顺序更前. 那么,系统是在成功执行完aaa脚本后再开始执行bbb还是aaa执行之后(不考虑是否执行完)便开始执行bbb? 解决方案 不会考虑执行完 直接连续执行 解决方案二: 直接写两个循环打印的脚本加进去试一下. 但是理论上脚本应该是顺序执行的,就是执行完aaa 再执行 bbb 因为启动操作系统的时候,前面的每一步都会影响到后面的步骤,等待aaa执行完是安全的.这个只是我的

linux下yum install mod_ssl –y 出错

问题描述 linux下yum install mod_ssl –y 出错 在linux下用yum安装apache [root@lamp5403 www]# yum install mod_ssl –y Cluster | 1.3 kB 00:00 Cluster/primary | 6.0 kB 00:00 Cluster 32/32 ClusterStorage | 1.3 kB 00:00 ClusterStorage/primary | 7.5 kB 00:00 ClusterStorag

嵌入式linux-Zedboard板子运行linaro linux后运行简单的程序出错

问题描述 Zedboard板子运行linaro linux后运行简单的程序出错 操作系统已经运行起来了,可以实现如ls,rm,mkdir等基本功能.我在虚拟机上用交叉编译器编译了只有一个简单的printf输出的程序,但是之后放到板子上运行时,没有报错,但是也没有看到printf运行的结果.请问是什么问题呢?

linux服务器-linux环境下部署java-web项目

问题描述 linux环境下部署java-web项目 我在linux环境下部署了一个简单的java登入到界面的测试dome,但是我linux服务器的tomcat的访问路径被修改过,因此我访问不到我请求的action,求高人指教. 我本来访问的路径为192.168.110.25/login.action 现在我在toncat里面修改的访问路径之后192.168.110.25/xiaoxiao/login.action 就通过界面表单提交访问login.action是报404,找不到指定的路径! 解决

linux环境weblogic 部署ear包报错

问题描述 linux环境weblogic 部署ear包报错 各位大侠: 我的一个ear包,在linux+weblogic 9.2部署是正常的,但是在linux+weblogic 10.3下部署,在控制台安装应用包的时候,就报错. Error at Line:0 Prefix [wls] used without binding it to a namespace URI 请问是什么原因,如何处理? 解决方案 linux环境下的weblogic部署

linux基础-求助大牛,linux系统下动态链接文件出错???

问题描述 求助大牛,linux系统下动态链接文件出错??? 有个linux下的应用程序,在centos5.8下正常运行,但是放到centos6.3-64bit 的就出现错误,错误代码是:error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory 大牛们我该如何查找错误点?怎么解决这个问题..非常感谢!!!我的QQ:1602710388.