You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by md...@apache.org on 2014/04/23 15:18:05 UTC
[3/6] git commit: ACCUMULO-2716 Remove log-and-rethrow in Writer
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/master
Commit: c62d676e1bb3a0e0f17817f9839378c54c2e3acf
Parents: a65565b
Author: Mike Drob <md...@cloudera.com>
Authored: Wed Apr 23 09:15:44 2014 -0400
Committer: Mike Drob <md...@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);
}