put: File COPYING could be replicated to 0 nodes instead of minReplication.There are 0 datanodes解决方案

  大家好,我是爱编程的喵喵。双985硕士毕业,现担任全栈工程师一职,热衷于将数据思维应用到工作与生活中。从事机器学习以及相关的前后端开发工作。曾在阿里云、科大讯飞、CCF等比赛获得多次Top名次。喜欢通过博客创作的方式对所学的知识进行总结与归纳,不仅形成深入且独到的理解,而且能够帮助新手快速入门。

  本文主要介绍了put: File COPYING could be replicated to 0 nodes instead of minReplication (=1).There are 0 datanode(s) running and no node(s) are excluded in this operation解决方案,希望能对新手有所帮助。
put: File COPYING could be replicated to 0 nodes instead of minReplication.There are 0 datanodes解决方案_第1张图片

文章目录

  • 1. 问题描述
  • 2. 解决方案

1. 问题描述

  今天在使用put命令将本地文件发送到hdfs中,则出现了put: File COPYING could be replicated to 0 nodes instead of minReplication (=1).There are 0 datanode(s) running and no node(s) are excluded in this operation的错误提示,命令和错误截图如下所示:

hadoop fs 

你可能感兴趣的:(Hadoop解决方案,hadoop,put,minReplication)