为了账号安全,请及时绑定邮箱和手机立即绑定

JPS时进程不正常,

root@11:/opt/hadoop-1.2.1/bin# jps

10468 JobTracker

12393 Jps


并非视频中那些进程,看其他同学的问答后检查了自己的配置文件,但是并不知道具体问题。请老师讲解一下可能出错的地方


以及 

root@11:/opt/hadoop-1.2.1/bin# hadoop fs -ls /

Warning: $HADOOP_HOME is deprecated.


15/07/05 02:21:29 INFO ipc.Client: Retrying connect to server: 0.0.0.11/0.0.0.11:9000. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)

15/07/05 02:21:30 INFO ipc.Client: Retrying connect to server: 0.0.0.11/0.0.0.11:9000. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)

15/07/05 02:21:31 INFO ipc.Client: Retrying connect to server: 0.0.0.11/0.0.0.11:9000. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)

^Croot@11:/opt/hadoop-1.2.1/bin# ^C


正在回答

2 回答

配置文件出错了。可能的问题,可能是配错了主机名和目录。视频里用的是imooc和目录,需要替换成你实际的主机名和目录。

0 回复 有任何疑惑可以回复我~

我在jps后,Datanode一直没有运行。把hdfs-site.xml的value改为/hadoop/dfs/data就好了(视频里为/hadoop/data)。小伙伴们可以试试

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

JPS时进程不正常,

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信