[ 
https://issues.apache.org/jira/browse/HDFS-833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12830297#action_12830297
 ] 

Todd Lipcon commented on HDFS-833:
----------------------------------

TestDatanodeBlockScanner failed with this same error here:

http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/112/testReport/org.apache.hadoop.hdfs/TestDatanodeBlockScanner/testDatanodeBlockScanner/

{noformat}
2010-02-04 07:08:23,803 INFO  common.Storage (Storage.java:lock(523)) - Cannot 
lock storage 
/grid/0/hudson/hudson-slave/workspace/Hdfs-Patch-h2.grid.sp2.yahoo.net/trunk/build/test/data/dfs/name1.
 The directory is already locked.
{noformat}
though with no stack trace - the test eventually failed with a 
FileNotFoundException:

{noformat}
java.io.FileNotFoundException: 
http://localhost:53291/blockScannerReport?listblocks
        at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1288)
        at org.apache.hadoop.hdfs.DFSTestUtil.urlGet(DFSTestUtil.java:286)
        at 
org.apache.hadoop.hdfs.TestDatanodeBlockScanner.waitForVerification(TestDatanodeBlockScanner.java:70)
        at 
org.apache.hadoop.hdfs.TestDatanodeBlockScanner.testDatanodeBlockScanner(TestDatanodeBlockScanner.java:129)
{noformat}

(I assume because the NN got in a bad state due to locked storage)

> TestDiskError.testReplicationError fails with locked storage error 
> -------------------------------------------------------------------
>
>                 Key: HDFS-833
>                 URL: https://issues.apache.org/jira/browse/HDFS-833
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: gary murry
>            Priority: Blocker
>
> The current build is failing with on TestDiskError.testReplication with the 
> following error:
> Cannot lock storage 
> /grid/0/hudson/hudson-slave/workspace/Hadoop-Hdfs-trunk/trunk/build/test/data/dfs/name1.
>  The directory is already locked.
>  http://hudson.zones.apache.org/hudson/view/Hadoop/job/Hadoop-Hdfs-trunk/171/ 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to