Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-4090

BatchWriter close not cleaning up all resources

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.7.0
    • Fix Version/s: None
    • Component/s: client
    • Labels:
      None

      Description

      I'm debugging an issue with a long-running ingestor, similar to the TraceServer.

      After realizing that BatchWriter close needs to be called when a MutationsRejectedException occurs (see ACCUMULO-4088), a close was added, and the client became more stable.

      However, after a day, or so, the client became sluggish. When inspecting a heap dump, many TabletServerBatchWriter objects were still referenced. This server should only have two BatchWriter instances at any one time, and this server had >100.

      Still debugging.

      The error that initiates the issue is a SessionID not found, presumably because the session timed out. This is the cause of the MutationsRejectedException seen by the client.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ecn Eric C. Newton
                Reporter:
                ecn Eric C. Newton
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: