[
https://issues.apache.org/jira/browse/ACCUMULO-3009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14070411#comment-14070411
]
Josh Elser commented on ACCUMULO-3009:
--------------------------------------
Yes! Test output is something I have. For the run which the assertion failure
triggered, I only see the following output:
{{Offline tablets 1}}
For the timeouts, I get a stacktrace when the thread is interrupted (with some
varying number of offline tablets)
{noformat}
Offline tablets 7
2014-07-18 07:15:20,385 [util.UtilWaitThread] ERROR: sleep interrupted
java.lang.InterruptedException: sleep interrupted
at java.lang.Thread.sleep(Native Method)
at
org.apache.accumulo.core.util.UtilWaitThread.sleep(UtilWaitThread.java:26)
at
org.apache.accumulo.core.client.impl.MasterClient.executeGeneric(MasterClient.java:132)
at
org.apache.accumulo.core.client.impl.MasterClient.execute(MasterClient.java:172)
at
org.apache.accumulo.core.client.impl.InstanceOperationsImpl.waitForBalance(InstanceOperationsImpl.java:218)
at
org.apache.accumulo.test.WaitForBalanceIT.test(WaitForBalanceIT.java:56)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at
org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
{noformat}
> WaitForBalanceIT fails
> ----------------------
>
> Key: ACCUMULO-3009
> URL: https://issues.apache.org/jira/browse/ACCUMULO-3009
> Project: Accumulo
> Issue Type: Bug
> Components: test
> Reporter: Josh Elser
> Assignee: Eric Newton
> Priority: Minor
> Fix For: 1.7.0
>
>
> I've had repeated failures on WaitForBalanceIT over the past 4 days.
> 3 of those four days, the timeout (30s) on the test expired. On one of those
> days, the initial balance check failed.
> {noformat}
> java.lang.AssertionError: null
> at org.junit.Assert.fail(Assert.java:86)
> at org.junit.Assert.assertTrue(Assert.java:41)
> at org.junit.Assert.assertTrue(Assert.java:52)
> at
> org.apache.accumulo.test.WaitForBalanceIT.test(WaitForBalanceIT.java:46)
> {noformat}
> I haven't looked at the implementation of the waitForBalance yet, but I
> wouldn't think that things would get immediately out of balance. I can
> provide logs for the timeout case if that is desirable, but I'd have to try
> to re-run and replicate the assertion failure.
--
This message was sent by Atlassian JIRA
(v6.2#6252)