From 9c0f5753f3d7f2f77d4ad1d896bb458673c89082 Mon Sep 17 00:00:00 2001 From: T Jake Luciani Date: Mon, 1 Dec 2014 16:05:09 -0500 Subject: [PATCH] Improve error message when stress is having GC issues (ninja) --- tools/stress/src/org/apache/cassandra/stress/util/Timing.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 9a5fa5688a..9eadf42f53 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