Hadoop: …be replicated to 0 nodes instead of minReplication (=1). There are 1 datanode(s) running and no node(s) are excluded in this operation

后端 未结 10 1910
走了就别回头了
走了就别回头了 2020-12-03 02:41

I\'m getting the following error when attempting to write to HDFS as part of my multi-threaded application

could only be replicated to 0 nodes instead of min         


        
10条回答
  •  甜味超标
    2020-12-03 03:38

    Got this error as Data Node was not running. To resolve this on VM

    1. Removed Name/Data Node directories
    2. Re-Created the directories
    3. Formatted the name node & data node(not required)hadoop namenode -format
    4. Restarted the service start-dfs.sh
    5. Now jps shows both Name & Data nodes and Sqoop job worked successfully

提交回复
热议问题