accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From md...@apache.org
Subject [1/6] git commit: ACCUMULO-2716 Remove log-and-rethrow in Writer
Date Wed, 23 Apr 2014 13:18:03 GMT
Repository: accumulo
Updated Branches:
  refs/heads/1.5.2-SNAPSHOT a65565b43 -> c62d676e1
  refs/heads/1.6.0-SNAPSHOT 5d8279604 -> 9c049a28e
  refs/heads/master c8f04eb93 -> c1587d4da


ACCUMULO-2716 Remove log-and-rethrow in Writer


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

Branch: refs/heads/1.5.2-SNAPSHOT
Commit: c62d676e1bb3a0e0f17817f9839378c54c2e3acf
Parents: a65565b
Author: Mike Drob <mdrob@cloudera.com>
Authored: Wed Apr 23 09:15:44 2014 -0400
Committer: Mike Drob <mdrob@cloudera.com>
Committed: Wed Apr 23 09:15:44 2014 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/accumulo/core/client/impl/Writer.java | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/c62d676e/core/src/main/java/org/apache/accumulo/core/client/impl/Writer.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/accumulo/core/client/impl/Writer.java b/core/src/main/java/org/apache/accumulo/core/client/impl/Writer.java
index 7353e54..b5c05aa 100644
--- a/core/src/main/java/org/apache/accumulo/core/client/impl/Writer.java
+++ b/core/src/main/java/org/apache/accumulo/core/client/impl/Writer.java
@@ -16,7 +16,6 @@
  */
 package org.apache.accumulo.core.client.impl;
 
-import org.apache.accumulo.trace.instrument.Tracer;
 import org.apache.accumulo.core.Constants;
 import org.apache.accumulo.core.client.AccumuloException;
 import org.apache.accumulo.core.client.AccumuloSecurityException;
@@ -34,11 +33,11 @@ import org.apache.accumulo.core.tabletserver.thrift.TabletClientService;
 import org.apache.accumulo.core.util.ArgumentChecker;
 import org.apache.accumulo.core.util.ThriftUtil;
 import org.apache.accumulo.core.util.UtilWaitThread;
+import org.apache.accumulo.trace.instrument.Tracer;
 import org.apache.hadoop.io.Text;
 import org.apache.log4j.Logger;
 import org.apache.thrift.TException;
 import org.apache.thrift.TServiceClient;
-import org.apache.thrift.transport.TTransportException;
 
 public class Writer {
   
@@ -70,9 +69,6 @@ public class Writer {
       return;
     } catch (ThriftSecurityException e) {
       throw new AccumuloSecurityException(e.user, e.code);
-    } catch (TTransportException e) {
-      log.warn("Error connecting to " + server + ": " + e);
-      throw e;
     } finally {
       ThriftUtil.returnClient((TServiceClient) client);
     }


Mime
View raw message