Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 22ECAECB0 for ; Fri, 15 Mar 2013 23:51:14 +0000 (UTC) Received: (qmail 28945 invoked by uid 500); 15 Mar 2013 23:51:12 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 28892 invoked by uid 500); 15 Mar 2013 23:51:12 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 28879 invoked by uid 99); 15 Mar 2013 23:51:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Mar 2013 23:51:11 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Yuling_C@dell.com designates 143.166.148.206 as permitted sender) Received: from [143.166.148.206] (HELO ausc60ps301.us.dell.com) (143.166.148.206) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Mar 2013 23:51:06 +0000 X-LoopCount0: from 10.170.28.41 X-IronPort-AV: E=Sophos;i="4.84,854,1355119200"; d="scan'208";a="96555284" From: To: Date: Fri, 15 Mar 2013 18:50:44 -0500 Subject: RE: hbase time skew Thread-Topic: hbase time skew Thread-Index: Ac4h1NA+koTn26htTIeEa282u7HNogAAkecg Message-ID: <00B180B44D70DB429A492069FDE633373F3E0B32D5@AUSX7MCPC109.AMER.DELL.COM> References: <00B180B44D70DB429A492069FDE633373F3E0B32BA@AUSX7MCPC109.AMER.DELL.COM> <00B180B44D70DB429A492069FDE633373F3E0B32CD@AUSX7MCPC109.AMER.DELL.COM> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hi Ted,=20 For the source code below, what's the unit of 30000? Is the maxSkew 30 seco= nds? Also, what does Hbase do when the time skew exeeds 10 seconds and 30 = seconds? Are these two values configurable? Thanks, YuLing >maxSkew =3D c.getLong("hbase.master.maxclockskew", 30000); > warningSkew =3D c.getLong("hbase.master.warningclockskew", 10000);=20 > ./src/main/java/org/apache/hadoop/hbase/master/ServerManager.java -----Original Message----- From: Ted Yu [mailto:yuzhihong@gmail.com]=20 Sent: Friday, March 15, 2013 4:28 PM To: user@hbase.apache.org Subject: Re: hbase time skew Please upgrade to 0.94.5, if possible. There have been a lot of bug fixes and performance improvements since 0.94.= 1. On Fri, Mar 15, 2013 at 4:26 PM, wrote: > Yes, I'm using 0.94.1. > > -----Original Message----- > From: Ted Yu [mailto:yuzhihong@gmail.com] > Sent: Friday, March 15, 2013 3:53 PM > To: user@hbase.apache.org > Subject: Re: hbase time skew > > Are you using 0.94.x ? > > If so, see the following: > > maxSkew =3D c.getLong("hbase.master.maxclockskew", 30000); > warningSkew =3D c.getLong("hbase.master.warningclockskew", 10000);=20 > ./src/main/java/org/apache/hadoop/hbase/master/ServerManager.java > > Cheers > > On Fri, Mar 15, 2013 at 3:49 PM, wrote: > > > Hi, > > > > We recently encountered the issue that HBase tables got into a state=20 > > that was not disabled nor enabled. We found that the root cause was=20 > > the linux clock skewed more than 5 hours. I googled and understood=20 > > that hbase can only handle about a couple of seconds time skew. We=20 > > were wondering if there's any configuration in HBase that we can do=20 > > so as to increase the number of seconds that hbase could handle? > > > > Thanks very much, > > > > YuLing > > >