You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Matteo Bertozzi (JIRA)" <ji...@apache.org> on 2013/03/11 21:01:13 UTC

[jira] [Created] (HBASE-8069) TestHLog is dependent on the execution order

Matteo Bertozzi created HBASE-8069:
--------------------------------------

             Summary: TestHLog is dependent on the execution order
                 Key: HBASE-8069
                 URL: https://issues.apache.org/jira/browse/HBASE-8069
             Project: HBase
          Issue Type: Bug
          Components: test, wal
    Affects Versions: 0.94.5
            Reporter: Matteo Bertozzi
            Assignee: Matteo Bertozzi


Changing the execution order of the tests, TestHLog show up as failing
{code}<runOrder>alphabetical</runOrder>{code}

testAppendClose() changes the DFS cluster of the test (set globally) so the tests executed after has the new DFS. Trying to start a new mini cluster for every test @Before seems to solve the problem.

{code}
testSplit(org.apache.hadoop.hbase.regionserver.wal.TestHLog): 3 exceptions [org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hdfs.server.namenode.LeaseExpiredException): No lease on /user/th30z/hbase/TestHLog/21985ea121a1d65fa82d90d521be7313/recovered.edits/0000000000000000001.temp File is not open for writing. Holder DFSClient_NONMAPREDUCE_1044150136_583 does not have any open files.
{code}

Looking at testSplit() the failure seems to be in logSplitter.splitLog(), OutputSink.finishWritingAndClose() is not able to close the files and rethrow the exception.

(On trunk I'm not able to reproduce the problem)

--
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