You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ec...@apache.org on 2014/01/24 16:34:11 UTC

[1/2] git commit: ACCUMULO-2250 Move error logging in Fate.transitionToFailed to beginning of method

Updated Branches:
  refs/heads/master 6991509cc -> 349af6b94


ACCUMULO-2250 Move error logging in Fate.transitionToFailed to beginning of method

Signed-off-by: Eric Newton <er...@gmail.com>


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

Branch: refs/heads/master
Commit: 930a6b84f84c87809bd6af0748358393b75b681f
Parents: 11d803c
Author: Vikram Srivastava <vi...@cloudera.com>
Authored: Fri Jan 24 01:38:44 2014 -0800
Committer: Eric Newton <er...@gmail.com>
Committed: Fri Jan 24 10:33:50 2014 -0500

----------------------------------------------------------------------
 fate/src/main/java/org/apache/accumulo/fate/Fate.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/930a6b84/fate/src/main/java/org/apache/accumulo/fate/Fate.java
----------------------------------------------------------------------
diff --git a/fate/src/main/java/org/apache/accumulo/fate/Fate.java b/fate/src/main/java/org/apache/accumulo/fate/Fate.java
index 2d69647..3561fc8 100644
--- a/fate/src/main/java/org/apache/accumulo/fate/Fate.java
+++ b/fate/src/main/java/org/apache/accumulo/fate/Fate.java
@@ -99,9 +99,11 @@ public class Fate<T> {
     }
     
     private void transitionToFailed(long tid, Repo<T> op, Exception e) {
+      String tidStr = String.format("%016x", tid);
+      log.warn("Failed to execute Repo, tid=" + tidStr, e);
       store.setProperty(tid, EXCEPTION_PROP, e);
       store.setStatus(tid, TStatus.FAILED_IN_PROGRESS);
-      log.warn("Failed to execute Repo, tid=" + String.format("%016x", tid), e);
+      log.info("Updated status for Repo with tid=" + tidStr + " to FAILED_IN_PROGRESS");
     }
     
     private void processFailed(long tid, Repo<T> op) {


[2/2] git commit: Merge branch '1.6.0-SNAPSHOT'

Posted by ec...@apache.org.
Merge branch '1.6.0-SNAPSHOT'


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

Branch: refs/heads/master
Commit: 349af6b9410a9ac4f2348b00cd59650ec329e2d0
Parents: 6991509 930a6b8
Author: Eric Newton <er...@gmail.com>
Authored: Fri Jan 24 10:34:13 2014 -0500
Committer: Eric Newton <er...@gmail.com>
Committed: Fri Jan 24 10:34:13 2014 -0500

----------------------------------------------------------------------
 fate/src/main/java/org/apache/accumulo/fate/Fate.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/349af6b9/fate/src/main/java/org/apache/accumulo/fate/Fate.java
----------------------------------------------------------------------