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 <[email protected]> Authored: Sat Aug 29 17:20:16 2015 -0400 Committer: Josh Elser <[email protected]> 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"); }
