hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raghu Angadi <rang...@yahoo-inc.com>
Subject Re: No locks available error
Date Fri, 01 Aug 2008 22:06:19 GMT

Most likely your NFS is not configured to allow file locks. Please 
enable filelocks for your NFS.

Raghu.

Shirley Cohen wrote:
> Hi,
> 
> We're getting the following error when starting up hadoop on the cluster:
> 
> 2008-08-01 14:42:37,334 INFO org.apache.hadoop.dfs.DataNode: STARTUP_MSG:
> /************************************************************
> STARTUP_MSG: Starting DataNode
> STARTUP_MSG:   host = node5.cube.disc.cias.utexas.edu/129.116.113.77
> STARTUP_MSG:   args = []
> STARTUP_MSG:   version = 0.16.4
> STARTUP_MSG:   build = 
> http://svn.apache.org/repos/asf/hadoop/core/branches/branch-0.16 -r 
> 652614; compiled by 'hadoopqa' on Fri May  2 00:18:12 UTC 2008
> ************************************************************/
> 2008-08-01 14:43:37,572 INFO org.apache.hadoop.dfs.Storage: 
> java.io.IOException: No locks available
>         at sun.nio.ch.FileChannelImpl.lock0(Native Method)
>         at sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:822)
>         at java.nio.channels.FileChannel.tryLock(FileChannel.java:967)
>         at 
> org.apache.hadoop.dfs.Storage$StorageDirectory.lock(Storage.java:393)
>         at 
> org.apache.hadoop.dfs.Storage$StorageDirectory.analyzeStorage(Storage.java:278) 
> 
>         at 
> org.apache.hadoop.dfs.DataStorage.recoverTransitionRead(DataStorage.java:103) 
> 
>         at org.apache.hadoop.dfs.DataNode.startDataNode(DataNode.java:236)
>         at org.apache.hadoop.dfs.DataNode.<init>(DataNode.java:162)
>         at org.apache.hadoop.dfs.DataNode.makeInstance(DataNode.java:2512)
>         at org.apache.hadoop.dfs.DataNode.run(DataNode.java:2456)
>         at 
> org.apache.hadoop.dfs.DataNode.createDataNode(DataNode.java:2477)
>         at org.apache.hadoop.dfs.DataNode.main(DataNode.java:2673)
> 
> This error appears on every data node during startup.  We are running 
> version 0.16.4 of hadoop and the hadoop dfs is NSF mounted on all the 
> nodes in the cluster.
> 
> Does anyone know what this error means?
> 
> Thanks,
> 
> Shirley
> 
> 
> 


Mime
View raw message