You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2013/01/06 18:24:12 UTC
[jira] [Created] (HBASE-7500) TestNodeHealthCheckChore occasionally
fails in trunk build
Ted Yu created HBASE-7500:
-----------------------------
Summary: TestNodeHealthCheckChore occasionally fails in trunk build
Key: HBASE-7500
URL: https://issues.apache.org/jira/browse/HBASE-7500
Project: HBase
Issue Type: Bug
Reporter: Ted Yu
Priority: Minor
>From https://builds.apache.org/job/HBase-TRUNK/3702/testReport/org.apache.hadoop.hbase/TestNodeHealthCheckChore/testHealthChecker/:
{code}
java.lang.AssertionError
at org.junit.Assert.fail(Assert.java:92)
at org.junit.Assert.assertTrue(Assert.java:43)
at org.junit.Assert.assertTrue(Assert.java:54)
at org.apache.hadoop.hbase.TestNodeHealthCheckChore.testHealthChecker(TestNodeHealthCheckChore.java:71)
...
2013-01-06 04:29:23,889 INFO [pool-1-thread-1] hbase.HealthCheckChore(68): Health status at 377068hrs, 29mins, 23sec : ERROR
Server not healthy
{code}
Here is related code:
{code}
assertTrue(report.getStatus() == HealthCheckerExitStatus.SUCCESS);
LOG.info("Health Status:" + checker);
{code}
The health status log should be moved before the assertion. I think report should be in the log instead of checker.
--
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