Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D2FDE200D78 for ; Thu, 28 Dec 2017 00:58:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id D132F160C32; Wed, 27 Dec 2017 23:58:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 228C9160C23 for ; Thu, 28 Dec 2017 00:58:04 +0100 (CET) Received: (qmail 34872 invoked by uid 500); 27 Dec 2017 23:58:03 -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 34858 invoked by uid 99); 27 Dec 2017 23:58:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Dec 2017 23:58:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 090E51A0C1A for ; Wed, 27 Dec 2017 23:58:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 4DMO-aORpleo for ; Wed, 27 Dec 2017 23:58:01 +0000 (UTC) Received: from mail-lf0-f65.google.com (mail-lf0-f65.google.com [209.85.215.65]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id AB3935F201 for ; Wed, 27 Dec 2017 23:58:00 +0000 (UTC) Received: by mail-lf0-f65.google.com with SMTP id y78so38088832lfd.1 for ; Wed, 27 Dec 2017 15:58:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=8AnUfZ7iVf0SpLDc0EfsNYOaJizqM/3OxRloQP29Hk4=; b=ZD9jIUYqwcSDJE0OkczaxFod784AHGFSDPE7pWgaNNAw9o2RE/rBkwCn0cu+dCmrDq NV9R30to8LAF1WNENUtSlAl5qZ+5rZHBeacLE3nUqwaTj+DdCyQj+71YsUmxbiBDB/V3 QKv5ntMLOW9GJJ29zXrDsczSQvgf25f7/LQevW3onv6pvT/vRQAkLgCKrz6rJg4DeYZG JaopQMsXwNBx6tDI/AavRb7MhRGVxlL6gedYC2o6pssqbcT4sahk0EkRxiV2M1e0SCOS nsO/Nb8kTfzawpsMLABUzSBpFtdCmpeNHWlxDgMYm/A9O93xNmSCc5/dKbIixBHHCAg0 FxGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=8AnUfZ7iVf0SpLDc0EfsNYOaJizqM/3OxRloQP29Hk4=; b=CEjJav55CsUgt0YSqQ7dogFZ6x8kdowcQSJKCjASg+Nc2Msv7IqyTR2SHhiaZUhc4h z7p6mDPzk8McTb4s7HxQGiJ+Ef7ptS0ImA54xTGnRovsTercGkBgHsC2dHrKbGiQnMZ2 B+y3zUXOHCk3LUweE4FXmJ3htNhkPBqYnHc7htUk9NztKoY1xmFVYBlsAbNGLqrdAjc9 /sgPBwoGqJhPqjBdba1KxnKH6xjhx7b6eEso6cjeVoLzs0YkqPNUrQj4luNaBsA0IqNQ 0BB5Zb3QT+X2yrpbzXdPMC45Z9X+OhXfI0h5n0wKK+T3WM7PLmBvSnaLgV57Y2YR6Up4 wJkQ== X-Gm-Message-State: AKGB3mI8LiOZlLCppGVXffJuqsiY5/AeNKO/AfUqw6JPLpuEAX/xoYQ9 qqQwz/76SavbOmZGa83YbIvMYmez+O97pybf2f0rNg== X-Google-Smtp-Source: ACJfBoufXcj4j8OtryPGbPYcklYkpkXnjLOg+WZ1/PM5lzrlZbTVbhCAIo8KZBsIiEaVPxMHOA4zfpO+DsUJHX5fKds= X-Received: by 10.46.65.11 with SMTP id o11mr17986976lja.142.1514419079764; Wed, 27 Dec 2017 15:57:59 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.159.129 with HTTP; Wed, 27 Dec 2017 15:57:59 -0800 (PST) In-Reply-To: References: <8AE599EEEA742146969DD2B153B55BE254D6DB5D@EXTXMB52.nam.nsroot.net> From: Ted Yu Date: Wed, 27 Dec 2017 15:57:59 -0800 Message-ID: Subject: Re: Region count for a table not matching between prod and cob where one way replication is enabled from prod to cob To: user@hbase.apache.org Content-Type: multipart/alternative; boundary="94eb2c1ab5024a61bd05615b2b72" archived-at: Wed, 27 Dec 2017 23:58:06 -0000 --94eb2c1ab5024a61bd05615b2b72 Content-Type: text/plain; charset="UTF-8" CM: Does hbase.hregion.max.filesize carry same value in both clusters ? It seems TABLE1 went thru 3 splits in COB cluster. You can check region server log(s) to confirm the split. Cheers On Wed, Dec 27, 2017 at 2:32 PM, sudhir patil wrote: > Regions in both clusters need not have to match, each server independently > manages its regions depending on split, compactions etc number of regions > in both servers won't be same. If you want to verify both servers are > replicated correctly you have to run below command > > sudo -u hbase hbase > org.apache.hadoop.hbase.mapreduce.replication.VerifyReplication peer1 > table1 > > > On Thu, Dec 28, 2017 at 5:00 AM, Sawant, Chandramohan < > chandramohan.sawant@citi.com.invalid> wrote: > > > Hi All, > > > > Before enabling replication, snapshot of PROD table taken and restored in > > COB and then replication enabled, region count was matching at that time. > > However after few days, COB showing extra regions than in prod where > > replication enabled one way from PROD to COB. > > What is the reason of having mismatch in the number of regions between > > prod and cob ? > > > > COB - > > Namespace Table Name Online Regions Offline Regions Failed > > Regions Split Regions Other Regions > > default TABLE1 4 > > 0 0 3 > > 0 > > default TABLE2 10 > > 0 0 8 > > 0 > > > > PROD - > > Namespace Table Name Online Regions Offline Regions Failed > > Regions Split Regions Other Regions > > default TABLE1 1 > > 0 0 0 > > 0 > > default TABLE2 4 > > 0 0 2 > > 0 > > > > hbase:meta table in COB shows the few regions of above tables are offline > > with offline attribute true, however it shows different status on HBase > UI, > > please see above. > > > > Regards, > > CM > > +1 201 763 1656 > > > > > --94eb2c1ab5024a61bd05615b2b72--