File could only be replicated to 0 nodes instead of minReplication (=1)

Working on newly configured cluster. Can browse HDFS but any write attempt produces an error:

Also I canĀ  create and view tables in Hive, but any insert attempt fails with the same error. Formatting name node, restarting services did not help. In my case solution was to edit hdfs-site.xml and leave the only one slash after file: prefix in parameters:

 

 

 

 

Leave a Reply

Your email address will not be published.