accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [5/7] git commit: ACCUMULO-3257 Include the actual Node's name in log message.
Date Fri, 24 Oct 2014 20:20:54 GMT
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/master
Commit: 1635ad5c763de77c793262f925e2f7f12b52b1c7
Parents: 1477c13
Author: Josh Elser <elserj@apache.org>
Authored: Fri Oct 24 15:23:08 2014 -0400
Committer: Josh Elser <elserj@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;
           }
 


Mime
View raw message