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

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

Yes Aaron, you are right. If we specify fork option, it will spawn separate JVM.
As Todd pointed, TestDfsOverAvroRpc  would be the real cause for test failures. 
This can be consider to ensure correct pattern in tests. When we add any new 
tests need not change others.
                
>  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
>         Attachments: HDFS-2531.patch
>
>
> 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