accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vi...@apache.org
Subject [1/3] git commit: ACCUMULO-2144 fixed listcompactions and listscans so they no longer wrap the appropriate exceptions in RTEs
Date Tue, 28 Jan 2014 23:15:50 GMT
Updated Branches:
  refs/heads/1.6.0-SNAPSHOT 550d8ac65 -> 3f92e0129


ACCUMULO-2144 fixed listcompactions and listscans so they no longer wrap the appropriate exceptions
in RTEs


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

Branch: refs/heads/1.6.0-SNAPSHOT
Commit: 16e095fde29bd0898d3cdeda525b1ac56497e47e
Parents: 07da9e3
Author: John Vines <vines@apache.org>
Authored: Tue Jan 28 18:11:02 2014 -0500
Committer: John Vines <vines@apache.org>
Committed: Tue Jan 28 18:11:02 2014 -0500

----------------------------------------------------------------------
 .../org/apache/accumulo/server/tabletserver/TabletServer.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/16e095fd/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java
----------------------------------------------------------------------
diff --git a/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java
b/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java
index ebbc214..9943926 100644
--- a/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java
+++ b/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java
@@ -1995,7 +1995,7 @@ public class TabletServer extends AbstractMetricsImpl implements org.apache.accu
         checkPermission(credentials, null, true, "getScans");
       } catch (ThriftSecurityException e) {
         log.error(e, e);
-        throw new RuntimeException(e);
+        throw e;
       }
       
       return sessionManager.getActiveScans();
@@ -2120,7 +2120,7 @@ public class TabletServer extends AbstractMetricsImpl implements org.apache.accu
         checkPermission(credentials, null, true, "getActiveCompactions");
       } catch (ThriftSecurityException e) {
         log.error(e, e);
-        throw new RuntimeException(e);
+        throw e;
       } 
       
       List<CompactionInfo> compactions = Compactor.getRunningCompactions();


Mime
View raw message