1.

Explain  the HDFS error -  “File could only be replicated to 0 nodes, instead of 1” ?

Answer»

This exception means there is no communication between the DataNode and the DataNode due to any of the below reasons :

  • BLOCK size is negative in hdfs-site.xml file
  • Disk usage for DataNode is 100% and there is no space AVAILABLE .
  • Due to poor network connectivity between NameNode and DataNode , PRIMARY DataNode is down when the write OPERATION is in progress .


Discussion

No Comment Found

Related InterviewSolutions