hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mich Talebzadeh" <>
Subject RE: Hive Stats shows numRows=0 when data imported through Sqoop
Date Fri, 17 Apr 2015 15:51:32 GMT
Hi Suresh,


I guess you are also using MySQL as your Hive metastore?


What configuration have you set for stats collection?




Mich Talebzadeh


Author of the books "A Practitioner’s Guide to Upgrading to Sybase ASE 15", ISBN 978-0-9563693-0-7.

co-author "Sybase Transact SQL Guidelines Best Practices", ISBN 978-0-9759693-0-4

Publications due shortly:

Creating in-memory Data Grid for Trading Systems with Oracle TimesTen and Coherence Cache

Oracle and Sybase, Concepts and Contrasts, ISBN: 978-0-9563693-1-4, volume one out shortly


NOTE: The information in this email is proprietary and confidential. This message is for the
designated recipient only, if you are not the intended recipient, you should destroy it immediately.
Any information in this message shall not be understood as given or endorsed by Peridale Ltd,
its subsidiaries or their employees, unless expressly so stated. It is the responsibility
of the recipient to ensure that this email is virus free, therefore neither Peridale Ltd,
its subsidiaries nor their employees accept any responsibility.


From: Suresh Kumar Sethuramaswamy [] 
Sent: 17 April 2015 16:46
Subject: Hive Stats shows numRows=0 when data imported through Sqoop



Hi All,


I'm using CDH 5.3.2 and i use sqoop to load data into hive tables.  last statement of the
sqoop import shows stats log which always shows [numFiles=<some numbers>,,numRows=0],
am i missing any conffiguration here?


Though I have set MySQL as stats db, auto stats doesn't seem to be working, but when I run
analyze compute statistics command , numRows reflects with Correct count . 


My concern is with the automatic stats collection 







View raw message