You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2010/07/22 16:57:51 UTC
[jira] Updated: (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:all-tabpanel ]
stack updated HBASE-2864:
-------------------------
Fix Version/s: 0.90.0
Tags: DNS noob (was: DNS)
Priority: Critical (was: Major)
Thanks Mathias. This is a silly one. Bringing into 0.90.0. Marking as critical.
> 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.