Re: How to make the setting changes works

2013-04-24 Thread 姚吉龙
I have already give full permission for that dir.I think this maybe caused by reformatting the NN.this will lead to different Id of NN and DN — Sent from Mailbox for iPhone On Thu, Apr 25, 2013 at 12:41 AM, Robert Molina wrote: > Hi Geelong, > What's the ownership and permissions on /usr/hadoop

Re: How to make the setting changes works

2013-04-24 Thread Harsh J
Did you end up reformatting the NameNode? Thats one reason why DNs will refuse to work. You need to clear out the dfs.data.dir directories for it to work again. Note that you shouldn't reformat the NN ever, unless it is your intention to wipe away all data and begin all over again. On Wed, Apr 24

Re: How to make the setting changes works

2013-04-24 Thread Robert Molina
Hi Geelong, What's the ownership and permissions on /usr/hadoop/tmp/dfs/data? If I recall correctly, I believe it should be hdfs:hadoop, where the owner has full permissions and the group can read and execute. Does /var/log for the datanode show any errors? Regards, Robert * Robert Molina Hor

How to make the setting changes works

2013-04-23 Thread Geelong Yao
Hi Sorry to interrupt you.But nobody answer my question in Hadoop maillist. I have met a issue after I change the content of hdfs-site.xml to add another dfs.data.dir in my cluster. /usr/hadoop/tmp/dfs/data is the default value, /sda is the new one data.dfs.dir /usr/hadoop/tmp/df