Return-Path: X-Original-To: apmail-hive-user-archive@www.apache.org Delivered-To: apmail-hive-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 6355510087 for ; Fri, 28 Mar 2014 11:17:55 +0000 (UTC) Received: (qmail 40233 invoked by uid 500); 28 Mar 2014 11:17:52 -0000 Delivered-To: apmail-hive-user-archive@hive.apache.org Received: (qmail 40177 invoked by uid 500); 28 Mar 2014 11:17:48 -0000 Mailing-List: contact user-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hive.apache.org Delivered-To: mailing list user@hive.apache.org Received: (qmail 40161 invoked by uid 99); 28 Mar 2014 11:17:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Mar 2014 11:17:44 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ashshabani@gmail.com designates 209.85.192.46 as permitted sender) Received: from [209.85.192.46] (HELO mail-qg0-f46.google.com) (209.85.192.46) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Mar 2014 11:17:39 +0000 Received: by mail-qg0-f46.google.com with SMTP id 63so673057qgz.33 for ; Fri, 28 Mar 2014 04:17:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=cEcImr0h37PjyPOcLCCJ17LAj13Jk/1LEsz8XURkgFA=; b=p1MuOeWY0GL/wOetHk78N2NS3BalIUQ5suvpZTev0NAPU3Y5BetciEt19zqeTl/yRF 7MaIzwCdvI5r0lOdYyYQPAd2dhFzeY97SiEKShO3NwX36xN3Z52pQqhS2Jysr/7LHkid csupgg1smzZybdZC7RKJAFKj8kf5SdBAYU+hUaXKHUYbcxFi9CTUo6gJsbb0XbsasqVK uE9JzurxOJkDmZkPB+ibaOqgfDvw8lANOgXUzlXfUv1Y1KtL5AHvFr4SwQaCnaA5cbiq A/dbgHEg3cc+9IZ7pMugDgcxWcTe2Zv0Nz0HgMMacPZaWJrR2n6mj3ZDykE+j+uDaOCF pn+g== MIME-Version: 1.0 X-Received: by 10.229.219.133 with SMTP id hu5mr8493847qcb.5.1396005438339; Fri, 28 Mar 2014 04:17:18 -0700 (PDT) Received: by 10.224.21.5 with HTTP; Fri, 28 Mar 2014 04:17:18 -0700 (PDT) Date: Fri, 28 Mar 2014 12:17:18 +0100 Message-ID: Subject: Number of Mapper when reading from Cassandra From: Amjad ALSHABANI To: user@hive.apache.org Content-Type: multipart/alternative; boundary=001a1133c5e641c0c204f5a8d83f X-Virus-Checked: Checked by ClamAV on apache.org --001a1133c5e641c0c204f5a8d83f Content-Type: text/plain; charset=ISO-8859-1 Hello All, I have tow tables created in Hive, one read the data immidiately from Cassandra DB and the other takes the data from stored files (data already exported in somewhow from the same Cassandra DB) Both tables are identical (in data) but when running the same request it gives me very different number of mapper for each of them (P.S I m using the same hive config for both requests) *hive -e " select count(1) from keyring.cred"* will take 2338 mapper and 1 reducer while: *hive -e "select count(1) from keyring.cred_seq"* will take just 151 mapper and 1 reducer Any idea how to minimize this number, and where does this explosion in mapper number come from?? any response will be appreciated :) Cheers!! Amjad --001a1133c5e641c0c204f5a8d83f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hello All,
I have tow tables created in Hive, one =A0r= ead the data immidiately from Cassandra DB and the other takes the data fro= m stored files (data already exported in somewhow from the same Cassandra D= B)=A0

Both tables are identical (in data)
but when = running the same request it gives me very different number of mapper for ea= ch of them (P.S I m using the same hive config for both requests)

hive -e "= select count(1) from keyring.cred"

will take 2338 mapper and 1 reducer

while:

hive -e "= select count(1) from keyring.cred_seq"

=
will take just 151 mapper and 1 reducer

Any idea ho= w to minimize this number, and where does this explosion in mapper number c= ome from??

any response will be appreciated :)
Cheers!!

Amjad

--001a1133c5e641c0c204f5a8d83f--