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 AA61911717 for ; Thu, 28 Aug 2014 01:06:35 +0000 (UTC) Received: (qmail 35480 invoked by uid 500); 28 Aug 2014 01:06:33 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 35401 invoked by uid 500); 28 Aug 2014 01:06:33 -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 35389 invoked by uid 99); 28 Aug 2014 01:06:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Aug 2014 01:06:33 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tobeg3oogle@gmail.com designates 209.85.215.48 as permitted sender) Received: from [209.85.215.48] (HELO mail-la0-f48.google.com) (209.85.215.48) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Aug 2014 01:06:06 +0000 Received: by mail-la0-f48.google.com with SMTP id gl10so82760lab.35 for ; Wed, 27 Aug 2014 18:06:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=oU9x5FTpb9KMM5fOWc8AA0RI/OUnEzTmZEjuxPAhv3U=; b=Ztd5ocIK0f2sHjOYIHq5eK4iH+oewWs4fxdEEjOmV/AD1Mg67IEq5fUYR7ldigD9oZ EuGzCfWK7kTKCNghNmCrDb94V3x6EXEPxO7HvmMtora4DL6NowIIei7OsvQw6oG46cSv f1Zxtlo1+RzPziPD+MYcki4cpgGv+bPK2H3Bbs1Wz4zB2lF7Igjv0R8WVs3MTdYmt0Z4 G62+ZyObwUMqjFuNJMS6MuMQZtHm6BSPW2Jl5obRCwKQipX26FhkYIS5kyyosJz8GZIu cT2z8MYS8VziJyuDvMNqJB5rwprfIXcQslmwRCOMpmDsCfRVZaX/YFgOrOVkPlJnjFqx CmDw== MIME-Version: 1.0 X-Received: by 10.152.22.170 with SMTP id e10mr694793laf.30.1409187965215; Wed, 27 Aug 2014 18:06:05 -0700 (PDT) Received: by 10.25.25.149 with HTTP; Wed, 27 Aug 2014 18:06:05 -0700 (PDT) In-Reply-To: References: Date: Thu, 28 Aug 2014 09:06:05 +0800 Message-ID: Subject: Re: Re: Re: Hbase verifyrep compares different key's From: tobe To: "user@hbase.apache.org" Content-Type: multipart/alternative; boundary=089e0158c51616a8180501a62478 X-Virus-Checked: Checked by ClamAV on apache.org --089e0158c51616a8180501a62478 Content-Type: text/plain; charset=UTF-8 Yes, you're right. After applying that patch, a little inconsistency is acceptable, but not like what you saw before. Actually now we count ONLY_IN_SOURCE_TABLE_ROWS, ONLY_IN_PEER_TABLE_ROWS and CONTENT_DIFFERENT_ROWS rather than just BADROWS. On Wed, Aug 27, 2014 at 4:25 PM, Hansi Klose wrote: > Hi tobe, > > yes we are replicating during verify. > > So as I understand, the problem is that during the verify job the one key > is updated (with new timestamp) > while this key will be verified. So on one side the key timestamp is in > the verify timerange but on the > other side no more. So the key is "missing" there and the next key will be > compared. > > Maybe I am totally wrong and someone has a good description of what > happens ;-) > > Regards Hansi > > > Gesendet: Dienstag, 26. August 2014 um 13:22 Uhr > > Von: tobe > > An: "user@hbase.apache.org" > > Betreff: Re: Re: Hbase verifyrep compares different key's > > > > @hansi Are you running replication or updating data during verification? > If > > so, a little inconsistency is reasonable because the replication is final > > consistent. > > > > But if you compare these two cluster which will not update, you should > not > > get BADROWS. This tool is well for static comparison. > > > > > > On Tue, Aug 26, 2014 at 6:25 PM, Hansi Klose wrote: > > > > > Hi Tobe, > > > > > > ok, this is why there are so many, but this means that in the job with > > > BADROWS > > > there is minimum one row missing at that time on one side. > > > > > > Right? > > > > > > Regards Hansi > > > > > > > Gesendet: Dienstag, 26. August 2014 um 10:20 Uhr > > > > Von: tobe > > > > An: "user@hbase.apache.org" > > > > Betreff: Re: Hbase verifyrep compares different key's > > > > > > > > It's the bug of VerifyReplication, please refer to [HBASE-10153] > > > > . > > > > > > > > Need someone to review and fix it. > > > > > > > > > > > > On Tue, Aug 26, 2014 at 4:10 PM, Hansi Klose > wrote: > > > > > > > > > Hi, > > > > > > > > > > I run periodically verify jobs on our hbase tables. > > > > > One some tables i have problems with many BADROWS. > > > > > > > > > > I looked into the job log file and recognized that > > > > > the job started to compare different key. > > > > > > > > > > I looks like the job missees on key on one the replication target > side > > > > > and from that point each key in that job produces BADROWS. > > > > > > > > > > Like this: > > > > > > > > > > A - A > > > > > B - B > > > > > C - > > > > > D - C > > > > > E - D > > > > > F - E > > > > > > > > > > Even when I go 3 days back with my --starttime and --endtime > > > > > I have this problem too. > > > > > > > > > > I do not really understand why that happens. > > > > > > > > > > The hbase tables have a high volume of write action. > > > > > > > > > > We use Hbase 0.94.2-cdh4.2.0. > > > > > > > > > > Regards Hans > > > > > > > > > > > > > > > --089e0158c51616a8180501a62478--