Return-Path: X-Original-To: apmail-accumulo-commits-archive@www.apache.org Delivered-To: apmail-accumulo-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 61BE310B8C for ; Sat, 29 Aug 2015 21:51:10 +0000 (UTC) Received: (qmail 25201 invoked by uid 500); 29 Aug 2015 21:51:10 -0000 Delivered-To: apmail-accumulo-commits-archive@accumulo.apache.org Received: (qmail 25096 invoked by uid 500); 29 Aug 2015 21:51:10 -0000 Mailing-List: contact commits-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list commits@accumulo.apache.org Received: (qmail 25080 invoked by uid 99); 29 Aug 2015 21:51:10 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Aug 2015 21:51:10 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id CD43BE01FC; Sat, 29 Aug 2015 21:51:09 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: elserj@apache.org To: commits@accumulo.apache.org Date: Sat, 29 Aug 2015 21:51:09 -0000 Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: [1/2] accumulo git commit: ACCUMULO-3954 Demote warning to debug message and fix log message. Repository: accumulo Updated Branches: refs/heads/master ffee9e5ae -> fec719f5d ACCUMULO-3954 Demote warning to debug message and fix log message. It is plausible that a tabletserver receive a message from another component before it has acquired its lock (in the case of a restart of itself at a fixed network location). This is acceptable and would require the caller to retry the RPC. It is not anything that requires administrator interaction, and thus should not be a warning. Also fix the log message as the RPC could come from any user or process, not just the master. Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/c9031fb8 Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/c9031fb8 Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/c9031fb8 Branch: refs/heads/master Commit: c9031fb8807578c2915f2c2013f52e0f39ecd666 Parents: ffee9e5 Author: Josh Elser Authored: Sat Aug 29 17:20:16 2015 -0400 Committer: Josh Elser Committed: Sat Aug 29 17:20:16 2015 -0400 ---------------------------------------------------------------------- .../src/main/java/org/apache/accumulo/tserver/TabletServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/c9031fb8/server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java ---------------------------------------------------------------------- diff --git a/server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java b/server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java index ac5d948..de89b50 100644 --- a/server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java +++ b/server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java @@ -1441,7 +1441,7 @@ public class TabletServer extends AccumuloServerContext implements Runnable { } if (tabletServerLock == null || !tabletServerLock.wasLockAcquired()) { - log.warn("Got " + request + " message from master before lock acquired, ignoring..."); + log.debug("Got " + request + " message before my lock was acquired, ignoring..."); throw new RuntimeException("Lock not acquired"); }