Repository: cassandra Updated Branches: refs/heads/cassandra-2.1 c8848bc5b -> 9c0f5753f
Improve error message when stress is having GC issues (ninja) Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/9c0f5753 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/9c0f5753 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/9c0f5753 Branch: refs/heads/cassandra-2.1 Commit: 9c0f5753f3d7f2f77d4ad1d896bb458673c89082 Parents: c8848bc Author: T Jake Luciani <j...@apache.org> Authored: Mon Dec 1 16:05:09 2014 -0500 Committer: T Jake Luciani <j...@apache.org> Committed: Mon Dec 1 16:05:09 2014 -0500 ---------------------------------------------------------------------- tools/stress/src/org/apache/cassandra/stress/util/Timing.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/9c0f5753/tools/stress/src/org/apache/cassandra/stress/util/Timing.java ---------------------------------------------------------------------- diff --git a/tools/stress/src/org/apache/cassandra/stress/util/Timing.java b/tools/stress/src/org/apache/cassandra/stress/util/Timing.java index 9a5fa56..9eadf42 100644 --- a/tools/stress/src/org/apache/cassandra/stress/util/Timing.java +++ b/tools/stress/src/org/apache/cassandra/stress/util/Timing.java @@ -80,7 +80,7 @@ public class Timing // TODO fail gracefully after timeout if a thread is stuck if (!ready.await(5L, TimeUnit.MINUTES)) - throw new RuntimeException("Timed out waiting for a timer thread - seems one got stuck"); + throw new RuntimeException("Timed out waiting for a timer thread - seems one got stuck. Check GC/Heap size"); boolean done = true; // reports have been filled in by timer threadCount, so merge