On Thu, Nov 6, 2008 at 12:45 AM, Sean Laurent <[EMAIL PROTECTED]> wrote: > > So I'm new to Hadoop and I have been trying unsuccessfully to work > through the Quickstart tutorial to get a single node working in > pseudo-distributed mode. I can't seem to put data into HDFS using > release 0.18.2 under Java 1.6.0_04-b12: > > $ bin/hadoop fs -put conf input > 08/11/05 18:32:23 INFO dfs.DFSClient: > org.apache.hadoop.ipc.RemoteException: java.io.IOException: File > /user/slaurent/input/commons-logging.properties could only be > replicated to 0 nodes, instead of 1 > ...
So I finally discovered my problems... :) First, I didn't have an entry /etc/hosts for my machine name. Second (and far more important), the HDFS system was getting created in /tmp and the partition on which /tmp resides was running out of disk space. Once I moved the HDFS to a partition with enough space, my replication problems went away. I have to admit that it kinda seems like a bug that Hadoop never gave me ANY indication that I was out of disk space. -Sean