hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HBASE-2864) HBase handling of host names is case sensitive
Date Thu, 22 Jul 2010 14:57:51 GMT

     [ 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.

View raw message