Posts

Showing posts with the label hadoop

Unable to copy file from Local directory to HDFS

Unable to copy file from Local directory to HDFS I have formatted the Namenode, permissions on HDFS directories, but it didn't help me. I am running a single node hadoop cluster on ubuntu. This is the error I am facing: java.io.IOException: File /mydir could only be replicated at 0 nodes, instead of 1. Any help or guidance about where to look and how to solve this error. Could you please provide a bit more detail, how are you getting this error, do you have any code associated with the issue? – David Rogers 2 days ago This error is generated when your datanode is down, or when it is up but not able to connect with the Namenode – Abhinav 2 days ago hduser1@lalitha...