On Mon, Jan 17, 2011 at 8:13 AM, Adarsh Sharma <adarsh.sha...@orkash.com> wrote: > Harsh J wrote: >> >> Could you re-check your permissions on the $(dfs.data.dir)s for your >> failing DataNode versus the user that runs it? >> >> On Mon, Jan 17, 2011 at 6:33 PM, Adarsh Sharma <adarsh.sha...@orkash.com> >> wrote: >> >>> >>> Can i know why it occurs. >>> >> >> > > Thanx Harsh , I know this issue and I cross-check several times permissions > of of all dirs ( dfs.name.dir, dfs.data.dir, mapred.local.dir ). > > It is 755 and is owned by hadoop user and group. > > I found that in failed datanode dir , it is unable to create 5 files in > dfs.data.dir whereas on the other hand, it creates following files in > successsful datanode : > > curent > tmp > storage > in_use.lock > > Does it helps. > > Thanx >
No locks available can mean that you are trying to use hadoop on a filesystem that does not support file level locking. Are you trying to run your name node storage in NFS space?