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 CB54C200BD1 for ; Mon, 28 Nov 2016 09:42:28 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id C9EA7160B0D; Mon, 28 Nov 2016 08:42:28 +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 1CA99160B06 for ; Mon, 28 Nov 2016 09:42:27 +0100 (CET) Received: (qmail 83552 invoked by uid 500); 28 Nov 2016 08:42:26 -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 83539 invoked by uid 99); 28 Nov 2016 08:42:26 -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; Mon, 28 Nov 2016 08:42:26 +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 DAAE21AB4EC for ; Mon, 28 Nov 2016 08:42:25 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.129 X-Spam-Level: ** X-Spam-Status: No, score=2.129 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_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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 61iJKU_sl6D0 for ; Mon, 28 Nov 2016 08:42:25 +0000 (UTC) Received: from mail-oi0-f51.google.com (mail-oi0-f51.google.com [209.85.218.51]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 55A915F54E for ; Mon, 28 Nov 2016 08:42:24 +0000 (UTC) Received: by mail-oi0-f51.google.com with SMTP id v84so141858752oie.3 for ; Mon, 28 Nov 2016 00:42:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=FYk0O4kj+rsPnFazoHcXNGcN33BhW4m+4gzWzeTQ5UU=; b=X/u47t1lGLFEYJ/7NoklM3zOoVjLSqYj+U4Chnfzh54oLZj8ghz62a5/tmTm+M1xf9 W9dtypMJ2cleA9FaGsqXosm2KCrXBE6sUccWGz7tWebkeHXLxMrqnKcFqG3s7HtSO/MK Q/sfiag8tuwccXKn5vNY8TEkib0U0tG7OZA0lSyg/Z88H+c7ISMhlxETEW0ECFqDMj/F pD+tB3lJhovaA6ZOCt9x4OmPvWW+m7zlpxCzvibnc2d9t9Rq0xfok2X98TZ+5aQjmJoj mvGz3JG+tKjFRjjFzyHJDoOXwfEYK9Qr6sB+INwOqDVt98o69gDRSgPv5OT3jn8WKCdP fGLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=FYk0O4kj+rsPnFazoHcXNGcN33BhW4m+4gzWzeTQ5UU=; b=WDrl2lfplDGaknKENzmqFYNN31NFU296u23uDiiJxuR3vswIGejQO/F2MXPdsLJq6p 5qbp6sYRO3UC/FCA371y4z9AEEw2IWoH78OiSxNfz5ZVLpnDTq/lt2ZwXTiKPUNAeCpB g0gwcRcZ+Cgl/d4YX84/AfCDciqc/J5NE5WSH8xYr73SoFxapopW+ivGkeG3n9JXsRC2 coLQ4M12SIrCiFrcFBmZ38+bKEWKNBaUn6ASVg49j9ggTqLHEC2LhTbU7MvUOut1o/qO Wszwo4e8ZcrZQCN3tAT1l5GAXDZxOo84Uh3XK8idbFIXOGAN1vxNe2dQJVoovTwItLVA Jd+A== X-Gm-Message-State: AKaTC01ewfWWNcTS7o+3YcRf106fAPZ3BVum2T80V1bxH/oqBKXp8eaMNA6m32+OAd6lC+FP7WEYjnRpUEl9nQ== X-Received: by 10.157.35.59 with SMTP id j56mr12234741otb.55.1480322541806; Mon, 28 Nov 2016 00:42:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.18.230 with HTTP; Mon, 28 Nov 2016 00:42:01 -0800 (PST) From: Sachin Jain Date: Mon, 28 Nov 2016 14:12:01 +0530 Message-ID: Subject: Creating HBase table with presplits To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=001a113dca7641e9c00542587343 archived-at: Mon, 28 Nov 2016 08:42:29 -0000 --001a113dca7641e9c00542587343 Content-Type: text/plain; charset=UTF-8 Hi, I was going though pre-splitting a table article [0] and it is mentioned that it is generally best practice to presplit your table. But don't we need to know the data in advance in order to presplit it. Question: What should be the best practice when we don't know what data is going to be inserted into HBase. Essentially I don't know the key range so if I specify wrong splits, then either first or last split can be a hot region in my system. [0]: https://hbase.apache.org/book.html#rowkey.regionsplits Thanks -Sachin --001a113dca7641e9c00542587343--