FAQ
TestMergeTool is too sensitive to hanging HBase cluster from other test
-----------------------------------------------------------------------

Key: HBASE-4264
URL: https://issues.apache.org/jira/browse/HBASE-4264
Project: HBase
Issue Type: Bug
Reporter: Ted Yu


The TestMergeTool.testMergeTool failure in build 2154 was due to the following check:
{noformat}
HBaseAdmin.checkHBaseAvailable(getConf());
LOG.fatal("HBase cluster must be off-line.");
{noformat}
HBase cluster from some other test(s) was hanging since "merging regions 0 and 1" is the first merge.
The test can be made more robust by calling HBaseAdmin.shutdown() before making the first merge.

In Merge.java, -1 is returned in 5 places. I think we should return different values so that it is more obvious what the cause was.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupissues @
categorieshbase, hadoop
postedAug 28, '11 at 7:10a
activeAug 28, '11 at 7:10a
posts1
users1
websitehbase.apache.org

1 user in discussion

Ted Yu (JIRA): 1 post

People

Translate

site design / logo © 2021 Grokbase