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

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

Updated Branches:
  refs/heads/1.5.1-SNAPSHOT 07da9e3f3 -> 16e095fde


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.5.1-SNAPSHOT
Commit: 16e095fde29bd0898d3cdeda525b1ac56497e47e
Parents: 07da9e3
Author: John Vines <vi...@apache.org>
Authored: Tue Jan 28 18:11:02 2014 -0500
Committer: John Vines <vi...@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();