Hi,

I've been running some tests with hadoop in pseudo-distributed mode. My config includes the following in conf/hdfs-site.xml

   <property>
     <name>dfs.data.dir</name>
     <value>/hdfs/disk1, /hdfs/disk2, /hdfs/disk3, /hdfs/disk4</value>
   </property>

When I started running hadoop I was disappointed to see that only /hdfs/disk1 was created. It was only later I noticed that HADOOP_HOME now contained the following new directories

HADOOP_HOME/ /hdfs/disk2
HADOOP_HOME/ /hdfs/disk3
HADOOP_HOME/ /hdfs/disk4

I guess any leading spaces should be stripped out of the data dir names? Or maybe there is a reason for this behaviour. I thought I should mention it just in case.

Thanks,

-stephen

--
Stephen Mulcahy, DI2, Digital Enterprise Research Institute,
NUI Galway, IDA Business Park, Lower Dangan, Galway, Ireland
http://di2.deri.ie    http://webstar.deri.ie    http://sindice.com

Reply via email to