hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-4358) TestCheckpoint failure due to incomplete cleanup when testing with JDK7
Date Fri, 04 Jan 2013 03:02:12 GMT

     [ https://issues.apache.org/jira/browse/HDFS-4358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Arpit Agarwal updated HDFS-4358:
--------------------------------

    Description: 
testMultipleSecondaryNameNodes doesn't shutdown the SecondaryNameNode which causes testCheckpoint
to fail.

Testcase: testCheckpoint took 2.736 sec
	Caused an ERROR
Cannot lock storage C:\hdp1-2\build\test\data\dfs\namesecondary1. The directory is already
locked.
java.io.IOException: Cannot lock storage C:\hdp1-2\build\test\data\dfs\namesecondary1. The
directory is already locked.
	at org.apache.hadoop.hdfs.server.common.Storage$StorageDirectory.lock(Storage.java:602)
	at org.apache.hadoop.hdfs.server.common.Storage$StorageDirectory.analyzeStorage(Storage.java:455)
	at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode$CheckpointStorage.recoverCreate(SecondaryNameNode.java:644)
	at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.initialize(SecondaryNameNode.java:178)
	at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.<init>(SecondaryNameNode.java:132)
	at org.apache.hadoop.hdfs.server.namenode.TestCheckpoint.startSecondaryNameNode(TestCheckpoint.java:560)
	at org.apache.hadoop.hdfs.server.namenode.TestCheckpoint.testCheckpoint(TestCheckpoint.java:596)

This does not reproduce with JDK6 because the testcase execution order is different.

  was:
testMultipleSecondaryNameNodes doesn't shutdown the SecondaryNameNode which causes testCheckpoint
to fail.

Testcase: testCheckpoint took 2.736 sec
	Caused an ERROR
Cannot lock storage C:\hdp1-2\build\test\data\dfs\namesecondary1. The directory is already
locked.
java.io.IOException: Cannot lock storage C:\hdp1-2\build\test\data\dfs\namesecondary1. The
directory is already locked.
	at org.apache.hadoop.hdfs.server.common.Storage$StorageDirectory.lock(Storage.java:602)
	at org.apache.hadoop.hdfs.server.common.Storage$StorageDirectory.analyzeStorage(Storage.java:455)
	at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode$CheckpointStorage.recoverCreate(SecondaryNameNode.java:644)
	at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.initialize(SecondaryNameNode.java:178)
	at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.<init>(SecondaryNameNode.java:132)
	at org.apache.hadoop.hdfs.server.namenode.TestCheckpoint.startSecondaryNameNode(TestCheckpoint.java:560)
	at org.apache.hadoop.hdfs.server.namenode.TestCheckpoint.testCheckpoint(TestCheckpoint.java:596)

    
> TestCheckpoint failure due to incomplete cleanup when testing with JDK7
> -----------------------------------------------------------------------
>
>                 Key: HDFS-4358
>                 URL: https://issues.apache.org/jira/browse/HDFS-4358
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 1.2.0
>            Reporter: Arpit Agarwal
>            Assignee: Arpit Agarwal
>
> testMultipleSecondaryNameNodes doesn't shutdown the SecondaryNameNode which causes testCheckpoint
to fail.
> Testcase: testCheckpoint took 2.736 sec
> 	Caused an ERROR
> Cannot lock storage C:\hdp1-2\build\test\data\dfs\namesecondary1. The directory is already
locked.
> java.io.IOException: Cannot lock storage C:\hdp1-2\build\test\data\dfs\namesecondary1.
The directory is already locked.
> 	at org.apache.hadoop.hdfs.server.common.Storage$StorageDirectory.lock(Storage.java:602)
> 	at org.apache.hadoop.hdfs.server.common.Storage$StorageDirectory.analyzeStorage(Storage.java:455)
> 	at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode$CheckpointStorage.recoverCreate(SecondaryNameNode.java:644)
> 	at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.initialize(SecondaryNameNode.java:178)
> 	at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.<init>(SecondaryNameNode.java:132)
> 	at org.apache.hadoop.hdfs.server.namenode.TestCheckpoint.startSecondaryNameNode(TestCheckpoint.java:560)
> 	at org.apache.hadoop.hdfs.server.namenode.TestCheckpoint.testCheckpoint(TestCheckpoint.java:596)
> This does not reproduce with JDK6 because the testcase execution order is different.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message