From user-return-55496-archive-asf-public=cust-asf.ponee.io@hbase.apache.org Sat Sep 1 20:18:54 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 04A4B180630 for ; Sat, 1 Sep 2018 20:18:53 +0200 (CEST) Received: (qmail 60453 invoked by uid 500); 1 Sep 2018 18:18:52 -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 60441 invoked by uid 99); 1 Sep 2018 18:18:51 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Sep 2018 18:18:51 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 6E2A2C00C7 for ; Sat, 1 Sep 2018 18:18:51 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.069 X-Spam-Level: *** X-Spam-Status: No, score=3.069 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, KAM_LINEPADDING=1.2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id sIa132gwlyQy for ; Sat, 1 Sep 2018 18:18:50 +0000 (UTC) Received: from mail-oi0-f66.google.com (mail-oi0-f66.google.com [209.85.218.66]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 4F3B05F1E3 for ; Sat, 1 Sep 2018 18:18:50 +0000 (UTC) Received: by mail-oi0-f66.google.com with SMTP id m11-v6so27253837oic.2 for ; Sat, 01 Sep 2018 11:18:50 -0700 (PDT) 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=vd+mWTvPNJtUovx9TYcIahlfTNlIhngqo9PN9prdpPE=; b=FYSKPEJaHCa06AxSlVFnEF+IZI9eFvCLRH2f6+SyRAjv5RakdpQFh9wLgeWJGXRAb6 bUSY5m5DhxsRb+J7e2EQf31m7f2z+4yAdvqiFiIUrcm7cKcRvXP4RV5SyDV2ZIHOLSkV xcsnTvQOpgolyT2qV7DFZChFxgbBcz9OVlcvJlEE1ZzCs8S7L5EwjG24lBySsY0bbnw9 P8cTHEgiRgITYpiRTWMOYaVqrWTGZPC0hCYRQGtWRIR77XUu3Sp/nlKfYr8zNzNfAJPV l17vmQWBc8+KP68cVQC2rBd6EiDfBoAr/jT6NFpUjxkI1Zzci+LF4sQr74F5FFh0Ww0V yxrg== 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=vd+mWTvPNJtUovx9TYcIahlfTNlIhngqo9PN9prdpPE=; b=fIHnw5tlKEX6ESCTdfnraK+m8XAFJ0utH3m0AHbXeVrZj1/a5iLTR4CcC4Y23iNuzs lsG8r5iZFvI58ywL24J7zT9Zdyu8+mp/Jfd1rKh57WboXtQ8g3rICWxcr1tWUTeZtCwW jD9nVU/kqy2RuHCBMIXNgdxpL919aK0cL6a7soSh5bJD9EnMT7Wn9ImGUev+0H3buvU6 WgRb4Ero+Qn1mohasZrjQtzz23UbaT/EjOajiXtpLsu1mePNSBcnj2/g/Mh62XZnIbiv +jLSpyc8nMCrVsZij0F15xrcgvHA4beElV1EqwOMKvSDBAF+aN8RV5VyddQazpCdKZdH ay8g== X-Gm-Message-State: APzg51CsBErRBmY0zQgvkM5NQWcK2/CATWsY5FD60au16MoBsrwNZRen i7+10kvxOr7C18xHshbvg1sP7aW4jc+Ol7zBxgevcTug X-Google-Smtp-Source: ANB0VdaZGH9q6oAdWrh+WJgtMs7o0tsnyk0bgGrXZiH3CIEYk8gxKdFRr+UHNMfkFf81MKw+wRGntoe8GICVaJe1XV4= X-Received: by 2002:aca:4ec6:: with SMTP id c189-v6mr13641400oib.186.1535825929174; Sat, 01 Sep 2018 11:18:49 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:5788:0:0:0:0:0 with HTTP; Sat, 1 Sep 2018 11:18:48 -0700 (PDT) In-Reply-To: References: From: Robert Yokota Date: Sat, 1 Sep 2018 11:18:48 -0700 Message-ID: Subject: Re: Need Help in HBase Model To: user@hbase.apache.org Content-Type: multipart/alternative; boundary="000000000000f202eb0574d35667" --000000000000f202eb0574d35667 Content-Type: text/plain; charset="UTF-8" The answer depends on your queries, but you can try "key-flattening" as described under the DOCUMENT section here: https://blogs.apache.org/hbase/entry/hbase-application-archetypes-redux https://blogs.apache.org/hbase/entry/hbase-application-archetypes-redux2-part Other archetypes such as ENTITY may also be applicable. You may also want to look at Apache Phoenix. On Fri, Aug 31, 2018 at 8:17 AM, som ghos wrote: > Hi Team, > > Need help below data modelling in HBase. > > We have nested structure trying to model in HBASE. > > The problem I am facing is HBase support one level nested entity and my > data has multiple inner level nested entity. Need guidance how to model in > HBASE > > > We have below data in hive table and storage format is parquet. Need to > model to hbase for query performance improvment > > Below is the sample data > > *********************** > > PIN BigInteger > > TrendedData > Trended: ,email > address:array,camp: > array>>> > > Thanks and Regards, > Somnath > > > > > > > > Thanks and Regards, > Somnath > --000000000000f202eb0574d35667--