hadoop搭建,namenode无法启动,bind错误 50
按照教程把hadoop搭建以后,单机模式和伪分布式模式都没有问题,但是分布式时一直出现如下问题:1、在格式化namenode以后,运行sbin/start-dfs.sh和...
按照教程把hadoop搭建以后,单机模式和伪分布式模式都没有问题,但是分布式时一直出现如下问题:
1、在格式化namenode以后,运行sbin/start-dfs.sh和sbin/start-yarn.sh,然后jps查看,namenode并没有启动,而datanode那边没有问题。
log信息如下:
2015-05-04 16:38:08,110 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Stopping services started for active state
...
2015-05-04 16:38:08,130 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Stopping services started for standby state
2015-05-04 16:38:08,165 INFO org.mortbay.log: Stopped HttpServer2$SelectChannelConnectorWithSafeStartup@0.0.0.0:50070
2015-05-04 16:38:08,177 WARN org.apache.hadoop.http.HttpServer2: HttpServer Acceptor: isRunning is false. Rechecking.
2015-05-04 16:38:08,177 WARN org.apache.hadoop.http.HttpServer2: HttpServer Acceptor: isRunning is false
2015-05-04 16:38:08,277 INFO org.apache.hadoop.metrics2.impl.MetricsSystemImpl: Stopping NameNode metrics system...
2015-05-04 16:38:08,278 INFO org.apache.hadoop.metrics2.impl.MetricsSystemImpl: NameNode metrics system stopped.
2015-05-04 16:38:08,278 INFO org.apache.hadoop.metrics2.impl.MetricsSystemImpl: NameNode metrics system shutdown complete.
2015-05-04 16:38:08,279 FATAL org.apache.hadoop.hdfs.server.namenode.NameNode: Failed to start namenode.
java.net.BindException: Problem binding to [52.74.144.149:9000] java.net.BindException: Cannot assign requested address; For more details see: http://wiki.apache.org/hadoop/BindException 展开
1、在格式化namenode以后,运行sbin/start-dfs.sh和sbin/start-yarn.sh,然后jps查看,namenode并没有启动,而datanode那边没有问题。
log信息如下:
2015-05-04 16:38:08,110 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Stopping services started for active state
...
2015-05-04 16:38:08,130 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Stopping services started for standby state
2015-05-04 16:38:08,165 INFO org.mortbay.log: Stopped HttpServer2$SelectChannelConnectorWithSafeStartup@0.0.0.0:50070
2015-05-04 16:38:08,177 WARN org.apache.hadoop.http.HttpServer2: HttpServer Acceptor: isRunning is false. Rechecking.
2015-05-04 16:38:08,177 WARN org.apache.hadoop.http.HttpServer2: HttpServer Acceptor: isRunning is false
2015-05-04 16:38:08,277 INFO org.apache.hadoop.metrics2.impl.MetricsSystemImpl: Stopping NameNode metrics system...
2015-05-04 16:38:08,278 INFO org.apache.hadoop.metrics2.impl.MetricsSystemImpl: NameNode metrics system stopped.
2015-05-04 16:38:08,278 INFO org.apache.hadoop.metrics2.impl.MetricsSystemImpl: NameNode metrics system shutdown complete.
2015-05-04 16:38:08,279 FATAL org.apache.hadoop.hdfs.server.namenode.NameNode: Failed to start namenode.
java.net.BindException: Problem binding to [52.74.144.149:9000] java.net.BindException: Cannot assign requested address; For more details see: http://wiki.apache.org/hadoop/BindException 展开
- 你的回答被采纳后将获得:
- 系统奖励15(财富值+成长值)+难题奖励10(财富值+成长值)+提问者悬赏50(财富值+成长值)
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |