hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HBASE-1272) Unreadable log messages -- "... to the only server localhost_1237525439599_56094" <- You'd have to be perverse to recognize that as a hostname, startcode, and port number.
Date Thu, 21 May 2009 17:31:45 GMT

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

stack resolved HBASE-1272.
--------------------------

    Resolution: Fixed

Committed below:

{code}
Index: src/java/org/apache/hadoop/hbase/HServerInfo.java
===================================================================
--- src/java/org/apache/hadoop/hbase/HServerInfo.java   (revision 777167)
+++ src/java/org/apache/hadoop/hbase/HServerInfo.java   (working copy)
@@ -245,10 +245,10 @@
 
   private static String getServerName(String hostName, int port, long startCode) {
     StringBuilder name = new StringBuilder(hostName);
-    name.append("_");
+    name.append(",");
+    name.append(port);
+    name.append(",");
     name.append(startCode);
-    name.append("_");
-    name.append(port);
     return name.toString();
   }
 }
{code}

> Unreadable log messages -- "... to the only server localhost_1237525439599_56094" <-
You'd have to be perverse to recognize that as a hostname, startcode, and port number.
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-1272
>                 URL: https://issues.apache.org/jira/browse/HBASE-1272
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>            Priority: Blocker
>             Fix For: 0.20.0
>
>


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


Mime
View raw message