accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cjno...@apache.org
Subject [1/4] accumulo git commit: ACCUMULO-3462 stop the span during finally clause
Date Thu, 08 Jan 2015 04:40:43 GMT
Repository: accumulo
Updated Branches:
  refs/heads/master 44ad36ca6 -> 44e2b2cdf


ACCUMULO-3462 stop the span during finally clause


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

Branch: refs/heads/master
Commit: 34dda79f28810690df59643bd9534570d94439ed
Parents: 4468089
Author: Eric C. Newton <eric.newton@gmail.com>
Authored: Mon Jan 5 16:00:04 2015 -0500
Committer: Eric C. Newton <eric.newton@gmail.com>
Committed: Mon Jan 5 16:00:04 2015 -0500

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


http://git-wip-us.apache.org/repos/asf/accumulo/blob/34dda79f/server/tserver/src/main/java/org/apache/accumulo/tserver/Tablet.java
----------------------------------------------------------------------
diff --git a/server/tserver/src/main/java/org/apache/accumulo/tserver/Tablet.java b/server/tserver/src/main/java/org/apache/accumulo/tserver/Tablet.java
index 40c1b5e..60bc5e9 100644
--- a/server/tserver/src/main/java/org/apache/accumulo/tserver/Tablet.java
+++ b/server/tserver/src/main/java/org/apache/accumulo/tserver/Tablet.java
@@ -2811,7 +2811,8 @@ public class Tablet {
             initiateMajorCompaction(reason);
         }
 
-      } catch (RuntimeException E) {
+      } catch (RuntimeException e) {
+        log.error(e.toString(), e);
         failed = true;
       } finally {
         long count = 0;
@@ -3365,6 +3366,7 @@ public class Tablet {
       }
       span.stop();
     }
+
     return majCStats;
   }
 


Mime
View raw message