Hadoop put command throws - could only be replicated to 0 nodes, instead of 1

前端 未结 2 1945
情书的邮戳
情书的邮戳 2021-01-27 22:28

I am new to Hadoop, I am trying to do pseudo distributed mode setup on my ubuntu machine and facing an issue with hadoop put command. My configuration details are a

相关标签:
2条回答
  • 2021-01-27 22:59

    This is due to the data node problem. Start your datanode and do the operation now

    0 讨论(0)
  • 2021-01-27 23:01

    Did you check "dfs.replication" at "hdfs-site.xml" has minimum 1. I think you may put 0 replication.

    And also check all hadoop services are running or not?

    To check Running status: run JPS command

    To start the service individually: Goto ...\hadoop\bin\

    start hadoop {datanode \ namenode}
    start yarn {nodemanager \ resourcemanager}
    
    0 讨论(0)
提交回复
热议问题