Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 93F11200B54 for ; Wed, 13 Jul 2016 09:05:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 92A3C160A6E; Wed, 13 Jul 2016 07:05:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E8F13160A81 for ; Wed, 13 Jul 2016 09:05:21 +0200 (CEST) Received: (qmail 9931 invoked by uid 500); 13 Jul 2016 07:05:21 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 9603 invoked by uid 99); 13 Jul 2016 07:05:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2016 07:05:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9EB8E2C02B8 for ; Wed, 13 Jul 2016 07:05:20 +0000 (UTC) Date: Wed, 13 Jul 2016 07:05:20 +0000 (UTC) From: "qgxiaozhan (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-16222) RegionServer hostName is different between zk and hbase:meta MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 13 Jul 2016 07:05:22 -0000 [ https://issues.apache.org/jira/browse/HBASE-16222?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D153= 74487#comment-15374487 ]=20 qgxiaozhan commented on HBASE-16222: ------------------------------------ hbase-1.1.2/hbase-client/src/main/java/org/apache/hadoop/hbase/ServerName.j= ava b/hbase-1.1.2/hbase-client/src/main/java/org/apache/hadoop/hbase/Server= Name.java index 3d1258f..8d2e957 100644 --- a/hbase-1.1.2/hbase-client/src/main/java/org/apache/hadoop/hbase/Server= Name.java +++ b/hbase-1.1.2/hbase-client/src/main/java/org/apache/hadoop/hbase/Server= Name.java @@ -230,7 +230,7 @@ public class ServerName implements Comparable, Serializable { */ static String getServerName(String hostName, int port, long startcode) { final StringBuilder name =3D new StringBuilder(hostName.length() + 1 += 5 + 1 + 13); - name.append(hostName.toLowerCase()); + name.append(hostName); name.append(SERVERNAME_SEPARATOR); name.append(port); name.append(SERVERNAME_SEPARATOR); > RegionServer hostName is different between zk and hbase:meta > ------------------------------------------------------------- > > Key: HBASE-16222 > URL: https://issues.apache.org/jira/browse/HBASE-16222 > Project: HBase > Issue Type: Bug > Components: Client > Affects Versions: 1.1.2 > Reporter: qgxiaozhan > Priority: Minor > > I migrated rs-group in 1.1.2version,and found regionserver host is differ= ent between zk and meta table.=20 > For example, host BeiJIN.98.100.hbase.com In zk or master is beijin.98.10= 0.hbase.com , but in meter table is BeiJIN.98.199.hbase.com.=20 > Because of this , when rsgroup balance compare host , that cause problem = =E3=80=82=20 > And i found when regionserver report host to master , it will make the ho= stname to lowcase=E3=80=82 -- This message was sent by Atlassian JIRA (v6.3.4#6332)