accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject [51/54] git commit: ACCUMULO-802 changed error type given to thrift for TableNamespaceNotFoundExceptions so they don't cause a RuntimException when caught on the client side
Date Fri, 01 Nov 2013 02:00:52 GMT
ACCUMULO-802 changed error type given to thrift for TableNamespaceNotFoundExceptions so they
don't cause a RuntimException when caught on the client side


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

Branch: refs/heads/ACCUMULO-802
Commit: 5960282bc802f3ec0bfc297bf0ce09b521ac1f26
Parents: d349e91
Author: Sean Hickey <tallirishllama@gmail.com>
Authored: Wed Aug 14 12:38:16 2013 -0400
Committer: Christopher Tubbs <ctubbsii@apache.org>
Committed: Thu Oct 31 21:43:13 2013 -0400

----------------------------------------------------------------------
 server/master/src/main/java/org/apache/accumulo/master/Master.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/5960282b/server/master/src/main/java/org/apache/accumulo/master/Master.java
----------------------------------------------------------------------
diff --git a/server/master/src/main/java/org/apache/accumulo/master/Master.java b/server/master/src/main/java/org/apache/accumulo/master/Master.java
index a2ed382..ca88a5d 100644
--- a/server/master/src/main/java/org/apache/accumulo/master/Master.java
+++ b/server/master/src/main/java/org/apache/accumulo/master/Master.java
@@ -930,7 +930,7 @@ public class Master implements LiveTServerSet.Listener, TableObserver,
CurrentSt
           try {
             fate.seedTransaction(opid, new TraceRepo<Master>(new CreateTable(c.getPrincipal(),
tableName, timeType, options)), autoCleanup);
           } catch (TableNamespaceNotFoundException e) {
-            throw new ThriftTableOperationException(null, tableName, TableOperation.CREATE,
TableOperationExceptionType.NOTFOUND, e.getMessage());
+            throw new TException(e.getMessage(), e);
           }
           break;
         }


Mime
View raw message