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 B9F2B200B87 for ; Mon, 19 Sep 2016 17:40:26 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B87F2160ADC; Mon, 19 Sep 2016 15:40:26 +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 09CD6160ABB for ; Mon, 19 Sep 2016 17:40:25 +0200 (CEST) Received: (qmail 33761 invoked by uid 500); 19 Sep 2016 15:40:24 -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 Delivered-To: moderator for user@hbase.apache.org Received: (qmail 23893 invoked by uid 99); 19 Sep 2016 14:35:19 -0000 X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.429 X-Spam-Level: * X-Spam-Status: No, score=1.429 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ipn7oXmB65ixTseOjUnMbNwAcpJ5baaspZgI3D+XQeM=; b=q5M9NQ774Ypze6XZY3mVZc9+g+P1vwFKjRlgMs1kO6y5AsHxZGDP/RNkC9YdSSoSHb 0mEaJdy4RtVga9xUHaHEbopEywaltLo7L/baQm0uKTPughe8ugyLY2Jc1+MfPy3e/U9a GgxU/1Vt0uSCV1fpdpCXep2TsgQCsDDJ1nkCmIG8H4VDst8iTlPcX9ZLF1XdJpgbKPmI WByPA/w7lXwIwmGAijjlnzUFjY+nNsrrjE2Qe+IHU67Ysu0ZBXnfkKxHQqLP/AkIROPa ODo9bkzPQxwcBoRjFEqFO7PUzS+EAigVUEjt9nXAjc8tXurg2TtvMc1/cQ35W298vFo5 Agbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ipn7oXmB65ixTseOjUnMbNwAcpJ5baaspZgI3D+XQeM=; b=Py8HrN36dtXZXHVYPKWGCAokCi00OpxBJ81JPz7Ulvf6g3jDqP1SbgN2+dJiA4p2ZJ ub0LK1sNlIiP/LH0lnfe5M7NxheZhhfKf87muFFuV8F/ZIixGuzTVV2Q+9QrOIBwz8J6 7MHfXmEFMpsE1NhD87b0+C5pm/bTfGg5qw8SJeEQHmtnWYnwbMfgl+rriEIAAd5f7Z7Z K4BZOX6Bqpq9JWcqA80d9m/b32CapqdCdIYb4LwnpNeDxgQnaIezCOZfpZSfbkS4OQI4 OMhsnReYeQ2V6TVqUaUPP39X1mS5T+0Mu8LcpoQljGfhbIBXA0FYjTuwQiJD46BrB2qB Iybg== X-Gm-Message-State: AE9vXwPMAktqQ5Of3T+3T1R1rs3AQbO9WgSeYGn/Dx1BwK38IqrRNzx7xmRfZ3Bx37zCdSyvsnHQQuKAgFA32A== X-Received: by 10.55.100.150 with SMTP id y144mr31869813qkb.23.1474295714847; Mon, 19 Sep 2016 07:35:14 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Eric Pogrelis Date: Mon, 19 Sep 2016 09:35:14 -0500 Message-ID: Subject: Re: [Urgent] - HBase - Addition of new region servers - Presplit based To: cdh-user@cloudera.org Cc: user@hbase.apache.org Content-Type: multipart/alternative; boundary=94eb2c05e67660b5f8053cdd38aa archived-at: Mon, 19 Sep 2016 15:40:26 -0000 --94eb2c05e67660b5f8053cdd38aa Content-Type: text/plain; charset=UTF-8 V, Regionservers (what you said you're adding) and regions are two different things. If you are manually splitting such that you have only 3 regions, then if you add additional regionservers, those regionservers may not be serving any regions. To put that a better way, if you have a single table with 3 regions, then there are only 4 regions in total -- your 3-region table + the region for the hbase meta table. So, if you have 5 regionservers but only 4 regions to be served, then one regionserver will be idle. To take advantage of the additional regionservers you would want to modify your split such that there are enough regions that all the regionservers have a region to serve. On Mon, Sep 19, 2016 at 9:16 AM, Viswanathan J wrote: > Thanks Eric for the update. > > Re-balancing will happen automatically, but while writing/reading in HBase > we're forming the rowkey by pre-splitting based on 3 regions. So if I add > new regions to the cluster while reading data from 5 rs it will be impacted > because written data only on 3 regions? > > Thanks, > Viswa.J > > On Sun, Sep 18, 2016 at 11:17 PM, Eric Pogrelis > wrote: > >> Absent other changes, the existing regions will simply be re-balanced >> across the new region server count of 5. >> >> On Fri, Sep 16, 2016 at 9:46 AM, Viswanathan J < >> jayamviswanathan@gmail.com> wrote: >> >>> Hi, >>> >>> Currently I have 3 region servers and reading/storing data based on >>> pre-split(hashing). If I need to add 2 more region servers how it will >>> impact while reading and writing the data. Because currently pre-split >>> hashing only based on 3 rs. >>> >>> Please help. >>> >>> -- >>> Regards, >>> Viswa.J >>> >>> -- >>> >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "CDH Users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to cdh-user+unsubscribe@cloudera.org. >>> For more options, visit https://groups.google.com/a/cl >>> oudera.org/d/optout. >>> >> >> -- >> >> --- >> You received this message because you are subscribed to the Google Groups >> "CDH Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to cdh-user+unsubscribe@cloudera.org. >> For more options, visit https://groups.google.com/a/cloudera.org/d/optout >> . >> > > > > -- > Regards, > Viswa.J > > -- > > --- > You received this message because you are subscribed to the Google Groups > "CDH Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to cdh-user+unsubscribe@cloudera.org. > For more options, visit https://groups.google.com/a/cloudera.org/d/optout. > --94eb2c05e67660b5f8053cdd38aa--