Your NFS mount is not letting NameNode lock a file.

On Wed, Apr 13, 2011 at 12:38 PM, Jeffrey Wang <[email protected]> wrote:

> Hi,
>
> It's just in my home directory, which is an NFS mount. I moved it off NFS
> and it seems to work fine. Is there some reason it doesn't work with NFS?
>
> -Jeffrey
>
> -----Original Message-----
> From: Harsh J [mailto:[email protected]]
> Sent: Wednesday, April 13, 2011 3:48 AM
> To: [email protected]
> Subject: Re: namenode format error
>
> Hello,
>
> On Wed, Apr 13, 2011 at 5:25 AM, Jeffrey Wang <[email protected]> wrote:
> > Hey all,
> >
> > I'm trying to format my NameNode (I've done it successfully in the past),
> but I'm getting a strange error:
> >
> > 11/04/12 16:47:32 INFO common.Storage: java.io.IOException: Input/output
> error
> >        at sun.nio.ch.FileChannelImpl.lock0(Native Method)
> >        at sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:881)
> >        at java.nio.channels.FileChannel.tryLock(FileChannel.java:962)
> >        at
>
> What's your underlying FS of the ${dfs.name.dir} directories? Are they
> NFS mounts?
>
> --
> Harsh J
>

Reply via email to