You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org> on 2010/07/22 19:53:52 UTC
[jira] Commented: (HBASE-2864) HBase handling of host names is case
sensitive
[ https://issues.apache.org/jira/browse/HBASE-2864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12891263#action_12891263 ]
Jean-Daniel Cryans commented on HBASE-2864:
-------------------------------------------
This was fixed by HBASE-2599 which wasn't applied to branch because it breaks rolling restarts.
> HBase handling of host names is case sensitive
> ----------------------------------------------
>
> Key: HBASE-2864
> URL: https://issues.apache.org/jira/browse/HBASE-2864
> Project: HBase
> Issue Type: Bug
> Components: master
> Affects Versions: 0.20.5, 0.89.20100621
> Environment: Linux
> Reporter: Mathias Herberts
> Priority: Critical
> Fix For: 0.90.0
>
>
> Our HBase cluster showed weird multiple assigments of all regions.
> Master logs showed that every minute region assignments were all determined invalid and regions were being re-assigned.
> The reason for the assignements to be found invalid is that they were done on hosts whose name in /etc/hosts was in lowercase but whose name in the DNS was in uppercase.
> In BaseScanner.java:572, the HServerInfo is retrieved using the servername as key. As the name comes from the DNS, it was all uppercase and thus no HServerInfo could be found.
> The DNS cache needs to have its keys converted to lowercase to avoid this (HServerInfo.java:245).
> This is a major problem because simple changes to the DNS infrastructure can cause major data corruption in HBase.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.