accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Drob (JIRA)" <>
Subject [jira] [Created] (ACCUMULO-2716) Duplicate connection loss logging in Writer
Date Tue, 22 Apr 2014 17:20:14 GMT
Mike Drob created ACCUMULO-2716:

             Summary: Duplicate connection loss logging in Writer
                 Key: ACCUMULO-2716
             Project: Accumulo
          Issue Type: Bug
          Components: client
            Reporter: Mike Drob
            Assignee: Mike Drob

Running CI with agitation, I see lots of duplicated messages in the monitor whenever a tserver

| WARN | Error connecting to org.apache.thrift.transport.TTransportException: Connection refused |
| ERROR | error sending update to org.apache.thrift.transport.TTransportException: Connection refused |

These always occur in pairs, at the same millisecond, and coming from the same tserver. I
_think_ that they are updates to the metadata table coming from these tservers, like flushes
or compactions that fail because the dead server was hosting the corresponding metadata tablet,
but it doesn't really matter.

The culprit is in where we log-and-rethrow in {{updateServer()}}:
    } catch (TTransportException e) {
      log.warn("Error connecting to " + server + ": " + e);
      throw e;

and then later log again in {{update()}}:
      } catch (TException e) {
        log.error("error sending update to " + tabLoc.tablet_location + ": " + e);
        TabletLocator.getLocator(instance, table).invalidateCache(tabLoc.tablet_extent);

This message was sent by Atlassian JIRA

View raw message