Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 864D210022 for ; Wed, 8 Jan 2014 20:02:51 +0000 (UTC) Received: (qmail 67887 invoked by uid 500); 8 Jan 2014 20:02:51 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 67850 invoked by uid 500); 8 Jan 2014 20:02:51 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 67840 invoked by uid 99); 8 Jan 2014 20:02:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jan 2014 20:02:51 +0000 Date: Wed, 8 Jan 2014 20:02:51 +0000 (UTC) From: "Eric Newton (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-2014) Feedback loop on Tracer table given small in-memory map on server MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13865820#comment-13865820 ] Eric Newton commented on ACCUMULO-2014: --------------------------------------- Can you look at recent traces and see what was being traced? > Feedback loop on Tracer table given small in-memory map on server > ----------------------------------------------------------------- > > Key: ACCUMULO-2014 > URL: https://issues.apache.org/jira/browse/ACCUMULO-2014 > Project: Accumulo > Issue Type: Bug > Components: trace, tserver > Affects Versions: 1.4.3 > Reporter: Sean Busbey > Assignee: Eric Newton > Priority: Minor > Attachments: sanitized.tar.gz > > > Under the right conditions the tracer table can get into a feedback loop where messages about flushes to a tracer table tablet keep arriving and triggering subsequent flush operations. > This was observed on a 1.4.3 cluster initially configured for 256MB in-memory maps. > This manifests as a high rate of ingest to the tracer table, even in the absence of client activity or any client created tables. i.e. on a 3 worker node cluster with no external activity 500 entries/second into the tracer table. > Viewing the tserver logs: > {noformat} > tserver.log (less AUDIT): > $ tail -50 tserver-3-example.com.log | grep -v AUDIT > 2013-12-10 19:08:22,433 INFO org.apache.accumulo.server.tabletserver.TabletServer: Adding 1 logs for extent 1<;b99f as alias 5 > 2013-12-10 19:08:22,627 INFO org.apache.accumulo.server.tabletserver.TabletServer: Adding 1 logs for extent !0<;~ as alias 2 > 2013-12-10 19:08:23,431 INFO org.apache.accumulo.server.tabletserver.TabletServer: Adding 1 logs for extent 1<;b99f as alias 5 > 2013-12-10 19:08:23,735 INFO org.apache.accumulo.server.tabletserver.TabletServer: Adding 1 logs for extent !0<;~ as alias 2 > 2013-12-10 19:08:24,431 INFO org.apache.accumulo.server.tabletserver.TabletServer: Adding 1 logs for extent 1<;b99f as alias 5 > 2013-12-10 19:08:24,875 INFO org.apache.accumulo.server.tabletserver.TabletServer: Adding 1 logs for extent !0<;~ as alias 2 > 2013-12-10 19:08:26,431 INFO org.apache.accumulo.server.tabletserver.TabletServer: Adding 1 logs for extent 1<;b99f as alias 5 > 2013-12-10 19:08:26,486 INFO org.apache.accumulo.server.tabletserver.TabletServer: Adding 1 logs for extent !0<;~ as alias 2 > tserver.log (full) > 2013-12-10 19:07:44,479 AUDIT org.apache.accumulo.server.security.Auditor: Using credentials root: authenticated > 2013-12-10 19:07:44,480 AUDIT org.apache.accumulo.server.security.Auditor: Using credentials !SYSTEM: checked permission WRITE on table 1 for root > 2013-12-10 19:07:44,561 AUDIT org.apache.accumulo.server.security.Auditor: Using credentials !SYSTEM: checked permission WRITE on table !0 for !SYSTEM > 2013-12-10 19:07:45,379 AUDIT org.apache.accumulo.server.security.Auditor: Using credentials !SYSTEM: checked permission READ on table !0 for !SYSTEM > 2013-12-10 19:07:45,379 AUDIT org.apache.accumulo.server.security.Auditor: Using credentials !SYSTEM: got authorizations for !SYSTEM > 2013-12-10 19:07:45,479 AUDIT org.apache.accumulo.server.security.Auditor: Using credentials root: authenticated > 2013-12-10 19:07:45,480 AUDIT org.apache.accumulo.server.security.Auditor: Using credentials !SYSTEM: checked permission WRITE on table 1 for root > 2013-12-10 19:07:45,481 INFO org.apache.accumulo.server.tabletserver.TabletServer: Adding 1 logs for extent 1<;b99f as alias 5 > 2013-12-10 19:07:45,554 AUDIT org.apache.accumulo.server.security.Auditor: Using credentials !SYSTEM: checked permission WRITE on table !0 for !SYSTEM > 2013-12-10 19:07:45,555 INFO org.apache.accumulo.server.tabletserver.TabletServer: Adding 1 logs for extent !0<;~ as alias 2 > 2013-12-10 19:07:45,731 AUDIT org.apache.accumulo.server.security.Auditor: Using credentials !SYSTEM: checked permission WRITE on table !0 for !SYSTEM > 2013-12-10 19:07:46,479 AUDIT org.apache.accumulo.server.security.Auditor: Using credentials root: authenticated > 2013-12-10 19:07:46,481 AUDIT org.apache.accumulo.server.security.Auditor: Using credentials !SYSTEM: checked permission WRITE on table 1 for root > 2013-12-10 19:07:46,482 INFO org.apache.accumulo.server.tabletserver.TabletServer: Adding 1 logs for extent 1<;b99f as alias 5 > 2013-12-10 19:07:46,574 AUDIT org.apache.accumulo.server.security.Auditor: Using credentials !SYSTEM: checked permission WRITE on table !0 for !SYSTEM > 2013-12-10 19:07:46,575 INFO org.apache.accumulo.server.tabletserver.TabletServer: Adding 1 logs for extent !0<;~ as alias 2 > 2013-12-10 19:07:46,743 AUDIT org.apache.accumulo.server.security.Auditor: Using credentials !SYSTEM: checked permission WRITE on table !0 for !SYSTEM > {noformat} > note that this example relies on the default configuration, using "root" as the user for the tracer role. If your tracer user is set to something else, that is the user that would show up in the credential checks above. > Current work around is to increase the memory map size. > We should attempt to detect this situation and at least issue a clear log message. It would be nicer if we could detect it and turn off tracing messages related to the tracing table. -- This message was sent by Atlassian JIRA (v6.1.5#6160)