hadoop 启动时namenode和datanode可以启动,使用jps命令也可以看到进程,但是在浏览器中输入master:50070却没有显示datanode.

查看datanode的log日志:

2016-05-06 13:22:39,899 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: master/192.168.200.128:9000. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
2016-05-06 13:22:40,901 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: master/192.168.200.128:9000. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
2016-05-06 13:22:41,903 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: master/192.168.200.128:9000. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
2016-05-06 13:22:42,905 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: master/192.168.200.128:9000. Already tried 4 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
2016-05-06 13:22:43,907 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: master/192.168.200.128:9000. Already tried 5 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
2016-05-06 13:22:44,908 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: master/192.168.200.128:9000. Already tried 6 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
2016-05-06 13:22:45,910 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: master/192.168.200.128:9000. Already tried 7 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
2016-05-06 13:22:49,236 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: master/192.168.200.128:9000. Already tried 8 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
2016-05-06 13:22:50,238 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: master/192.168.200.128:9000. Already tried 9 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
2016-05-06 13:22:50,240 INFO org.apache.hadoop.ipc.RPC: Server at master/192.168.200.128:9000 not available yet, Zzzzz... 

发现连接不上namenode。

所以在master(也就是namenode)中配置etc/hosts文件,将120.0.0.1 master注释掉,然后添加192.168.200.131 master(如果不注释可能会优先匹配),重新hadoop namenode -format 然后启动就可以了。

INFO org.apache.hadoop.ipc.RPC: Server at master/192.168.200.128:9000 not available yet, Zzzzz...相关推荐

  1. k8s NFS挂载出现 mount.nfs: access denied by server while mounting 192.168.153.128:/nfs/data

    ### pod 一直处于pending状态 root@ubuntu:/opt/module/k8s# kubectl get pods -n nfs-clientNAME READY STATUS R ...

  2. org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.fs.FileAlreadyExistsException)

    文章目录 1.错误信息: 2.原因 3.解决方法 1.错误信息: 父路径不是一个目录:/tmp tmp org.apache.hadoop.ipc.RemoteException(org.apache ...

  3. Hadoop2.2.0 中错误总结之(org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /test._COPYING)

    错误: [root@xiajie01 sbin]# hadoop fs -put /root/20131210110122880.doc  hdfs://192.168.30.169:9000/tes ...

  4. 安装好hadoop集群后,报错如下n org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /data/hadoop-roo

    master错误: n org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /data/hadoop-root-namen ...

  5. org.apache.hadoop.ipc.Client: Retrying connect to server异常的解决

    org.apache.hadoop.ipc.Client: Retrying connect to server异常的解决 参考文章: (1)org.apache.hadoop.ipc.Client: ...

  6. Hive启动报错org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hdfs.server.namenode.SafeModeE...

    Caused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hdfs.server.namenode.SafeModeExce ...

  7. namenode -format时org.apache.hadoop.ipc.Client:Retrying connect to serverAlready tried time(s)解决方案

      大家好,我是爱编程的喵喵.双985硕士毕业,现担任全栈工程师一职,热衷于将数据思维应用到工作与生活中.从事机器学习以及相关的前后端开发工作.曾在阿里云.科大讯飞.CCF等比赛获得多次Top名次.现 ...

  8. HBase中此类异常解决记录org.apache.hadoop.ipc.RemoteException(java.io.IOException):

    HBase中此类异常解决记录org.apache.hadoop.ipc.RemoteException(java.io.IOException): 参考文章: (1)HBase中此类异常解决记录org ...

  9. hbase错误:Org.apache.hadoop.ipc.RemoteException:User:client is not allowed to impersonate root

    场景:远程登录配有Kerberos的hbase的时候,client端用到的kerberos的principal是client/mj1@BDSM.CMCC 错误: Org.apache.hadoop.i ...

最新文章

  1. vue-devTools插件安装流程
  2. JQuery EasyUI的常用组件
  3. C#基础-类成员(Day7)
  4. Dijkstra 最短路径算法详解 无向图
  5. 节能原理 复习(能量平衡+热电联产+联合循环)
  6. unity实现一个物体绕着某点旋转
  7. Apache Nutch 1.6 发布
  8. TensorFlow11CNN和全卷积神经网络
  9. 精选| 2021年6月R新包推荐(第55期)
  10. Ubuntu14.04安装与卸载ROS(避坑教程)配kinetic版本安装官方网址
  11. Android 系统(227)---Android屏幕截图
  12. idea docker 一键部署实战
  13. 打破超星封锁——PDG转PDF方法
  14. 离线光学字符识别(OCR)技术简介
  15. VMware安装deepin
  16. kindle电子书格式转换
  17. 面对妖艳的配置文件,python小技巧来帮你!
  18. 【转载】巴菲特:比能力更重要的是靠谱
  19. 顶刊实证复现!排污权交易机制是否提高了企业全要素生产率 ——来自中国上市公司的证据
  20. TriSun PDF 13.0中文版本,TriSun PDF15的发布

热门文章

  1. 基于Swoole和Redis实现的并发队列处理系统 1
  2. 应用多级缓存模式支撑海量读服务
  3. PHP调用扩展的三种方式:dl() .so ZendEngine
  4. websphere配置oracle数据源,websphere70中配置oracle数据源及部署.doc
  5. mysql 存储引擎接口_MySQL体系结构和存储引擎
  6. adaboost mh matlab,Adaboost算法的前世今生
  7. centos 7 局域网丢包排查_ethtool原理介绍和解决网卡丢包排查思路
  8. mysql 讲义_MySQL 讲义
  9. QT使用xsl将xml为html,使用xslt 2.0将属性设置为根元素(Puting attributes to the root-element with xslt 2.0)...
  10. linux网页无法连接到服务器,linux – 无法连接到SMTP服务器