今天特码的用hadoop提交job时候,发现莫名其妙出现这个错误。

最后发现其实就是datanode没有成功启动啊,玛德,jps虽然显示slave节点datanode进程存在,其实是处于假死状态。意思就是所有slave节点的datanode都启动失败。

原因如下:datanode VERSION文件中的clusterID与namenode VERSION文件中的clusterID不一样!!!

datanode VERSION文件的详细位置为/home/lemaker/data/hdfstmp/dfs/data/current/VERSION。

namenode VERSION文件的位置同理。

这里显示的是hadoop中hdfs-site.xml配置

将所有datanode VERSION文件中的clusterID改为与namenode VERSION文件中的clusterID一样,重新启动hdfs,即可解决此错误!!!

namemode中的clusterID图

There are 0 datanode(s) running and no node(s) are excluded in this operation.相关推荐

  1. 解决There are 0 datanode(s) running and no node(s) are excluded in this operation.

    解决There are 0 datanode(s) running and no node(s) are excluded in this operation. 出现上述问题可能是格式化两次hadoo ...

  2. (Hadoop datanode 问题)There are 0 datanode(s) running and no node(s) are excluded in this operation

    这是一个版本残留问题, 删除dfs.namenode.name.dir设置的(file:///dfs/data)目录下的current 文件夹即可解决.

  3. put命令here are 2 datanode(s) running and 2 node(s) are excluded in this operation.的解决方法

    #put: File /user/jc/input/myFile.txt.COPYING could only be replicated to 0 nodes instead of minRepli ...

  4. 问题解决There are 0 datanode(s) running and no node(s) are excludedin this operation

    出现问题:** File/usr/root/input/file01.COPYING could only be replicated to 0 nodes instead ofminRepLicat ...

  5. Hadoop+Spark 大数据集群日常1 (There are 0 datanode(s) running报错 处理)

    Hadoop+Spark 大数据集群日常1 由于项目涉及Hadoop+Spark大数据集群,特写此文档,方便将来处理类似问题参照,也为后人提供解决方案. 本人才疏学浅,文档难免有错漏与不妥之处,欢迎与 ...

  6. There are 0 datanode(s) running and 0 node(s) are excluded in this operation.

    解决问题: Exception in thread main org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /hdf ...

  7. could only be written to 0 of the 1 minReplication nodes. There are 0 datanode(s) running and 0 node

    问题 造成这个问题的原因可能是使用hadoop namenode -format格式化时格式化了多次造成那么spaceID不一致 解决方案 停止集群(切换到安装目录下) sbin/stop-all.s ...

  8. 【Flink】FLink 提交报错 instead of minReplication (=1). There are 3 datanode(s) running and 3 node(s) are

    文章目录 1.场景1 1.1 概述 1.2. 随便put一个文件 1. 3. 尝试权限 1.4. safemode 1.5 .解决 2.场景2 1.场景1 1.1 概述 flink任务提交报错,错误如 ...

  9. 【已解决】could only be written to 0 of the 1 minReplication nodes. There are 1 datanode(s) running and 1

    hadoop分布式集群搭建时出现的问题 原始报错 put: File /user/hadoop/input/yarn-site.xml._COPYING_ could only be written ...

最新文章

  1. SQL游标(cursor)详细说明及内部循环使用示例
  2. 免费的文本分析 文本挖掘软件工具
  3. 汉字笔画数据_把所有汉字叠起来会怎样?
  4. pip加速+百度镜像|清华镜像
  5. nodejs 复制、移动文件
  6. 随想录(改进的豆瓣爬行代码)
  7. 腾讯广告招人啦,校招优质岗位你不容错过!
  8. 20181031-1
  9. jQuery给页面弹出层添加半透明背景
  10. DDraw笔记-创建表面
  11. 数学与计算机科学奖王小云,2019 数学与计算机科学奖 获奖人 —— 王小云 - 未来科学大奖...
  12. Java编程练习题4
  13. 服务器显示器超频,电脑显示器超频怎么恢复正常 电脑显示器超频是什么原因...
  14. 省级c语言笔试题,C语言笔试题库.doc
  15. 基于OpenCV的PHP图像人脸检测识别…
  16. 2020最新教师资格证《中学综合素质》必考知识点大全
  17. 离散数学自反闭包对称闭包传递闭包C语言代码实现
  18. VS Code 下载、下载慢、更新(适用于压缩包下载)
  19. 致家长--为什么选择Scratch
  20. HTML5七夕情人节表白网页❤抖音超火的樱花雨3D相册❤ HTML+CSS+JavaScript

热门文章

  1. Jupyter Notebook显示图像
  2. 目前的Android恶意软件分类
  3. 怎么html跟asp结合,xml与asp简单结合实现html模板功能.doc
  4. matlab svm工具箱_机器学习笔记--SVM(MATLAB 实现代码)
  5. Galaxy 生信平台(四):邮件与管理员配置
  6. 关于肠道菌群研究的7大事实和5大倡议
  7. Nature综述: 地球上细菌和古菌的生物膜丰度
  8. R语言笔记4:向量、矩阵的数学运算
  9. ggtree美颜进化树-宏基因组扩增子
  10. sklearn使用投票器VotingClassifier算法构建多模型融合的软投票器分类器(soft voting)并计算融合模型的混淆矩阵、可视化混淆矩阵(confusion matrix)