hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-7500) TestNodeHealthCheckChore occasionally fails in trunk build
Date Sun, 06 Jan 2013 17:24:12 GMT
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

Mime
View raw message