hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Whiting (JIRA)" <j...@apache.org>
Subject [jira] Created: (HBASE-3168) Sanity date and time check when a region server joins the cluster
Date Fri, 29 Oct 2010 17:57:20 GMT
Sanity date and time check when a region server joins the cluster

                 Key: HBASE-3168
                 URL: https://issues.apache.org/jira/browse/HBASE-3168
             Project: HBase
          Issue Type: Improvement
          Components: regionserver
    Affects Versions: 0.89.20100924
         Environment: RHEL 5.5 64bit, 1 Master 4 Region Servers
            Reporter: Jeff Whiting

Introduce a sanity check when a RS joins the cluster to make sure its clock isn't too far
out of skew with the rest of the cluster.  If the RS's time is too far out of skew then the
master would prevent it from joining and RS would die and log the error. 

Having a RS with even small differences in time can cause huge problems due to how bhase stores
values with timestamps.

According to J-D in ServerManager we are already doing: 

    HServerInfo info = new HServerInfo(serverInfo);
    checkIsDead(info.getServerName(), "STARTUP");
    recordNewServer(info, false, null);

JG suggests we add a "ClockOutOfSync-like exception"

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

View raw message