You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2010/03/30 07:52:27 UTC

[jira] Resolved: (HBASE-2385) Debug Message "Received report from unknown server" should be INFO or WARN

     [ https://issues.apache.org/jira/browse/HBASE-2385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack resolved HBASE-2385.
--------------------------

       Resolution: Fixed
    Fix Version/s: 0.21.0
                   0.20.4

nm Al.  I committed the below to branch and trunk.
{code}
Index: src/java/org/apache/hadoop/hbase/master/ServerManager.java
===================================================================
--- src/java/org/apache/hadoop/hbase/master/ServerManager.java  (revision 928985)
+++ src/java/org/apache/hadoop/hbase/master/ServerManager.java  (working copy)
@@ -290,10 +290,8 @@
 
     HServerInfo storedInfo = serversToServerInfo.get(info.getServerName());
     if (storedInfo == null) {
-      if (LOG.isDebugEnabled()) {
-        LOG.debug("Received report from unknown server -- telling it " +
-          "to " + CALL_SERVER_STARTUP + ": " + info.getServerName());
-      }
+      LOG.warn("Received report from unknown server -- telling it " +
+        "to " + CALL_SERVER_STARTUP + ": " + info.getServerName());
{code}

> Debug Message "Received report from unknown server" should be INFO or WARN
> --------------------------------------------------------------------------
>
>                 Key: HBASE-2385
>                 URL: https://issues.apache.org/jira/browse/HBASE-2385
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 0.20.3
>         Environment: Debian 6 / DNS with default mdns4
>            Reporter: Al Lias
>            Priority: Minor
>             Fix For: 0.20.4, 0.21.0
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> We had debian 6 installed with a HA-DNS that failed-over.
> As a result, the DNS resolution was wrong for a short moment and the master received suddenly messages from "unknown" region servers:
> 2010-03-29 12:02:56,672 DEBUG org.apache.hadoop.hbase.master.ServerManager: Received report from unknown server -- telling it to MSG_CALL_SERVER_STARTUP: 172.17.0.102,60020,1269856690485
> This happened in production mode: I think, it relativly critical thing that happened, so a INFO or WARN logging level would have helped us much quicker to figure out the reason.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.