accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <>
Subject [jira] [Created] (ACCUMULO-3347) Improve logging for cancelled scans
Date Wed, 19 Nov 2014 21:15:33 GMT
Josh Elser created ACCUMULO-3347:

             Summary: Improve logging for cancelled scans
                 Key: ACCUMULO-3347
             Project: Accumulo
          Issue Type: Improvement
          Components: tserver
    Affects Versions: 1.6.1, 1.5.2
            Reporter: Josh Elser
            Assignee: Josh Elser
             Fix For: 1.6.2, 1.7.0

The TabletServer watches the active scans presently running and "stops" any that have not
had any client communication in the time set by {{Property.TSERV_SESSION_MAXIDLE}}.

The SessionManager reads the last accessed time for each Session (which is updated by the
Thrift RPC implementation). When the SessionManager finds a Session which hasn't been updated
within the required time limit, it calls cleanup on the Session (which ultimately calls cancel
on the ScanTask inside of the Session) and removes it from its internal state.

Presently, there is absolutely no logging on the server side when this occurs which would
make it very difficult, if not impossible, to debug this situation and determine that TServer
reaped the Session because it was inactive.

We should, at a minimum, have logging so that someone debugging the system for a Session that
was closed could validate that it was expected system functionality.

This message was sent by Atlassian JIRA

View raw message