分享

搭建集群,master上用report命令却显示Configured Capacity: 0 (0 KB) Present Cap...

rsgg03 发表于 2013-11-15 01:06:52 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 3 33963
想问问大家 我搭建的hadoop集群 用jps查看datanode能够启动但是在master上用report命令却显示Configured Capacity: 0 (0 KB) Present Capacity: 0 (0 KB) DFS Remaining: 0 (0)这是什么原因啦 ?
下面是报的日志:
2013-11-14 08:04:02,528 INFO org.apache.hadoop.ipc.RPC: Server at slave/10.21.240.115:9000 not available yet, Zzzzz...
2013-11-14 08:04:04,532 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: slave/10.21.240.115:9000. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)2013-11-14 08:04:05,534 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: slave/10.21.240.115:9000. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)2013-11-14 08:04:06,537 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: slave/10.21.240.115:9000. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)2013-11-14 08:04:07,539 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: slave/10.21.240.115:9000. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)2013-11-14 08:04:08,542 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: slave/10.21.240.115:9000. Already tried 4 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)2013-11-14 08:04:09,544 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: slave/10.21.240.115:9000. Already tried 5 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)2013-11-14 08:04:10,548 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: slave/10.21.240.115:9000. Already tried 6 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)2013-11-14 08:04:11,550 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: slave/10.21.240.115:9000. Already tried 7 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
2013-11-14 08:04:12,553 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: slave/10.21.240.115:9000. Already tried 8 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
2013-11-14 08:04:13,556 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: slave/10.21.240.115:9000. Already tried 9 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
2013-11-14 08:04:13,559 INFO org.apache.hadoop.ipc.RPC: Server at sla
急求啊 大神帮助一下啊
欢迎大家如about云官方群371358502,更新咨询,更新资源,随时关注

已有(3)人评论

跳转到指定楼层
hyj 发表于 2013-11-15 01:08:05
这不是没连上嘛你ssh slave能连上吗lave 那边能ssh master吗,你这个问题是slave无法连接到master给其发送heartbeat
回复

使用道具 举报

rsgg03 发表于 2013-11-15 01:09:20
在slave上用jps又可以查看到datanode启动了,但是就是master上用report命令显示没有datanode,这是格式化namenode时日志出现的问题。

ERROR org.apache.hadoop.security.UserGroupInformation: PriviledgedActionException as:hadoop cause:java.io.IOException: File /opt/hadoop/tmp/mapred/system/jobtracker.info could only be replicated to 0 nodes, instead of 12013-11-14 07:31:34,288 INFO org.apache.hadoop.ipc.Server: IPC Server handler 3 on 9000, call addBlock(/opt/hadoop/tmp/mapred/system/jobtracker.info, DFSClient_NONMAPREDUCE_1480811546_1, null) from 10.21.240.116:36182: error: java.io.IOException: File /opt/hadoop/tmp/mapred/system/jobtracker.info could only be replicated to 0 nodes, instead of 1java.io.IOException: File /opt/hadoop/tmp/mapred/system/jobtracker.info could only be replicated to 0 nodes, instead of 1
回复

使用道具 举报

hyj 发表于 2013-11-15 01:09:53
你把所有生成的文件夹全部删除,重新format
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条