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 5D66D10B1A for ; Sat, 31 Aug 2013 05:54:33 +0000 (UTC) Received: (qmail 21860 invoked by uid 500); 31 Aug 2013 05:54:29 -0000 Delivered-To: apmail-hive-user-archive@hive.apache.org Received: (qmail 21806 invoked by uid 500); 31 Aug 2013 05:54:25 -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 21793 invoked by uid 99); 31 Aug 2013 05:54:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 Aug 2013 05:54:21 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of maghamravikiran@gmail.com designates 74.125.82.44 as permitted sender) Received: from [74.125.82.44] (HELO mail-wg0-f44.google.com) (74.125.82.44) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 Aug 2013 05:54:16 +0000 Received: by mail-wg0-f44.google.com with SMTP id x12so2247458wgg.35 for ; Fri, 30 Aug 2013 22:53:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=jry++l69Wjx9/oAVh4GKIeOKEl+HpUyW8RUqxLGFmYc=; b=QZOCkOltof/B6hl5kzukdA/8T9iJJcue13hC9gU90LtQHaZGNhfiJ9t4nruTfEctil I5JeKW6O1KHB4Eqk/96YWcg72EdZ580aDyXk6pyPWYnhy+TM2sztViAfngwhaYt844QE hOsbiyHjhO2rwtijoK3VpRe1b7Gljl6xT//DQ5xCGfiqgkls0izfjIg6+fT7obxFWy9G rZHr9Y7J74+XgLzJFr9Ia03cU6vcDqO9ahL94c5OgJlKwzjb0WMXhis/pvvbaeAuTS+9 Bm3WIJsc4aBShS8bZHnxUYwLuKyhow82Shrc1/SOd+ylef1C/dbq6hP55Bfzoe/82Uc0 yYYg== MIME-Version: 1.0 X-Received: by 10.180.93.8 with SMTP id cq8mr1753663wib.38.1377928435559; Fri, 30 Aug 2013 22:53:55 -0700 (PDT) Received: by 10.194.178.231 with HTTP; Fri, 30 Aug 2013 22:53:55 -0700 (PDT) In-Reply-To: References: Date: Sat, 31 Aug 2013 11:23:55 +0530 Message-ID: Subject: Re: Hive Statistics information From: Ravi Kiran To: user@hive.apache.org Content-Type: multipart/alternative; boundary=f46d043892b1ed76c304e537f658 X-Virus-Checked: Checked by ClamAV on apache.org --f46d043892b1ed76c304e537f658 Content-Type: text/plain; charset=ISO-8859-1 Hi Sanjay, What do the logs say when you fire the ANALYZE TABLE... statement on a table ? One minor correction to the db connectionstring would be to use & for the query parameters. hive.stats.dbconnectionstring=jdbc:mysql:// v-so1.nextagqa.com/hive_vso1_tempstatsstore?user=hive_user_vso1&password=hive_user_vso1 I hope the database hive_vso1_tempstatsstoreexists in your MySQL? Regards Ravi Magham On Sat, Aug 31, 2013 at 6:15 AM, Sanjay Subramanian < Sanjay.Subramanian@wizecommerce.com> wrote: > Hi guys > > I have configured Hive to use MySQL for all statistics > > hive.stats.atomic=false > hive.stats.autogather=true > hive.stats.collect.rawdatasize=true > hive.stats.dbclass=jdbc:mysql > hive.stats.dbconnectionstring=jdbc:mysql:// > v-so1.nextagqa.com/hive_vso1_tempstatsstore?&user=hive_user_vso1&password=hive_user_vso1 > hive.stats.jdbc.timeout=30 > hive.stats.jdbcdriver=com.mysql.jdbc.Driver > hive.stats.retries.max=0 > hive.stats.retries.wait=3000 > > However in the MYSQL hive statistics tables , they don't seem to have > any data ? > > Where does Hive store the statistics information ? > > sanjay > > CONFIDENTIALITY NOTICE > ====================== > This email message and any attachments are for the exclusive use of the > intended recipient(s) and may contain confidential and privileged > information. Any unauthorized review, use, disclosure or distribution is > prohibited. If you are not the intended recipient, please contact the > sender by reply email and destroy all copies of the original message along > with any attachments, from your computer system. If you are the intended > recipient, please be advised that the content of this message is subject to > access, review and disclosure by the sender's Email System Administrator. > --f46d043892b1ed76c304e537f658 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi Sanjay,

=A0=A0 What do the = logs say when you fire the ANALYZE TABLE... =A0 statement on a table ?
= =A0=A0 One minor correction to the db connectionstring would be to use &= ;amp; for the query parameters.
hive.stats.dbconnectionstring=3Djdbc:mysql://v-so1.nextagqa.com/hive_vso1_tempstatsstor= e?user=3Dhive_user_vso1&amp;password=3Dhive_user_vso1

I hope the database hive_vso1_tempstatsstore exists in your MySQL?
Regards
Ravi Magham


On Sat, Aug 31, 2013 at 6:15 AM, Sanjay Subramanian <Sanjay.Subramanian@wizecommerce.com> wrote:
Hi guys=A0

I have configured Hive to use MySQL for all statistics=A0

hive.stats.atomic=3Dfalse
hive.stats.autogather=3Dtrue
hive.stats.collect.rawdatasize=3Dtrue
hive.stats.dbclass=3Djdbc:mysql
hive.stats.jdbc.timeout=3D30
hive.stats.jdbcdriver=3Dcom.mysql.jdbc.Driver
hive.stats.retries.max=3D0
hive.stats.retries.wait=3D3000

However in the MYSQL hive statistics tables , they don't seem to h= ave any data ?

Where does Hive store the statistics information ?

sanjay=A0

CONFIDENTIALITY NOTICE
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
This email message and any attachments are for the exclusive use of the int= ended recipient(s) and may contain confidential and privileged information.= Any unauthorized review, use, disclosure or distribution is prohibited. If= you are not the intended recipient, please contact the sender by reply email and destroy all copies of the ori= ginal message along with any attachments, from your computer system. If you= are the intended recipient, please be advised that the content of this mes= sage is subject to access, review and disclosure by the sender's Email System Administrator.

--f46d043892b1ed76c304e537f658--