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

Uma Maheswara Rao G commented on HDFS-2531:
-------------------------------------------


This problem will come when some tests are still having the locks on storage 
directories.
Looks the failures are random. 
TestDFSClientExcludedNodes is not shotting down the cluster, so the next test 
will fail diffinitely.

To find the cause for TestDFSClientExcludedNodes failure, need to check other 
test where they are not shutting down the cluster.
                
>  TestDFSClientExcludedNodes is failing in trunk.
> ------------------------------------------------
>
>                 Key: HDFS-2531
>                 URL: https://issues.apache.org/jira/browse/HDFS-2531
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.24.0
>            Reporter: Uma Maheswara Rao G
>            Assignee: Uma Maheswara Rao G
>
> FAILED:  org.apache.hadoop.hdfs.TestDFSClientExcludedNodes.testExcludedNodes
> Error Message:
> Cannot lock storage 
> /home/jenkins/jenkins-slave/workspace/Hadoop-Hdfs-trunk/trunk/hadoop-hdfs-project/hadoop-hdfs/target/test/data/dfs/name1.
>  The directory is already locked.
> Stack Trace:
> java.io.IOException: Cannot lock storage 
> /home/jenkins/jenkins-slave/workspace/Hadoop-Hdfs-trunk/trunk/hadoop-hdfs-project/hadoop-hdfs/target/test/data/dfs/name1.
>  The directory is already locked.
> at 
> org.apache.hadoop.hdfs.server.common.Storage$StorageDirectory.lock(Storage.java:586)
> at 
> org.apache.hadoop.hdfs.server.common.Storage$StorageDirectory.analyzeStorage(Storage.java:435)
> at 
> org.apache.hadoop.hdfs.server.namenode.FSImage.recoverStorageDirs(FSImage.java:253)
> at 
> org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:169)
> at 
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFSImage(FSNamesystem.java:371)
> at 
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFromDisk(FSNamesystem.java:314)
> at 
> org.apache.hadoop.hdfs.server.namenode.NameNode.loadNamesystem(NameNode.java:298)
> at 
> org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:332)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to