You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by el...@apache.org on 2014/10/24 22:20:53 UTC

[4/7] git commit: ACCUMULO-3257 Include the actual Node's name in log message.

ACCUMULO-3257 Include the actual Node's name in log message.


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/1635ad5c
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/1635ad5c
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/1635ad5c

Branch: refs/heads/1.6
Commit: 1635ad5c763de77c793262f925e2f7f12b52b1c7
Parents: 1477c13
Author: Josh Elser <el...@apache.org>
Authored: Fri Oct 24 15:23:08 2014 -0400
Committer: Josh Elser <el...@apache.org>
Committed: Fri Oct 24 15:24:47 2014 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/accumulo/test/randomwalk/Module.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/1635ad5c/test/src/main/java/org/apache/accumulo/test/randomwalk/Module.java
----------------------------------------------------------------------
diff --git a/test/src/main/java/org/apache/accumulo/test/randomwalk/Module.java b/test/src/main/java/org/apache/accumulo/test/randomwalk/Module.java
index 57b49ae..5756934 100644
--- a/test/src/main/java/org/apache/accumulo/test/randomwalk/Module.java
+++ b/test/src/main/java/org/apache/accumulo/test/randomwalk/Module.java
@@ -294,13 +294,13 @@ public class Module extends Node {
             // Bound the time we'll wait for the node to complete
             nodeException = task.get(secondsRemaining, TimeUnit.SECONDS);
           } catch (InterruptedException e) {
-            log.warn("Interrupted waiting for RandomWalk node to complete. Exiting.", e);
+            log.warn("Interrupted waiting for " + nextNode.getClass().getSimpleName() + " to complete. Exiting.", e);
             break;
           } catch (ExecutionException e) {
-            log.error("Caught error executing RandomWalk node", e);
+            log.error("Caught error executing " + nextNode.getClass().getSimpleName(), e);
             throw e;
           } catch (TimeoutException e) {
-            log.info("Timed out waiting for RandomWalk node to complete (waited " + secondsRemaining + " seconds). Exiting.", e);
+            log.info("Timed out waiting for " + nextNode.getClass().getSimpleName() + " to complete (waited " + secondsRemaining + " seconds). Exiting.", e);
             break;
           }