Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 70605109B5 for ; Mon, 19 Aug 2013 02:27:48 +0000 (UTC) Received: (qmail 393 invoked by uid 500); 19 Aug 2013 02:27:48 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 345 invoked by uid 500); 19 Aug 2013 02:27:47 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 337 invoked by uid 500); 19 Aug 2013 02:27:47 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 334 invoked by uid 99); 19 Aug 2013 02:27:47 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Aug 2013 02:27:47 +0000 Date: Mon, 19 Aug 2013 02:27:47 +0000 (UTC) From: "Phabricator (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-4645) Stat information like numFiles and totalSize is not correct when sub-directory is exists MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-4645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Phabricator updated HIVE-4645: ------------------------------ Attachment: HIVE-4645.D11037.3.patch navis updated the revision "HIVE-4645 [jira] Stat information like numFiles and totalSize is not correct when sub-directory is exists". I cannot reproduce the changes you've mentioned, but I suspect it's from difference of Mac and Linux (ordering of files returned by File.list()). Considered to remove that query but just added order by clause on HR. Reviewers: JIRA REVISION DETAIL https://reviews.facebook.net/D11037 CHANGE SINCE LAST DIFF https://reviews.facebook.net/D11037?vs=37857&id=38277#toc AFFECTED FILES ql/src/java/org/apache/hadoop/hive/ql/exec/StatsTask.java ql/src/test/queries/clientpositive/list_bucket_dml_7.q ql/src/test/queries/clientpositive/list_bucket_dml_8.q ql/src/test/results/clientpositive/infer_bucket_sort_list_bucket.q.out ql/src/test/results/clientpositive/list_bucket_dml_7.q.out ql/src/test/results/clientpositive/list_bucket_dml_8.q.out To: JIRA, navis Cc: brock > Stat information like numFiles and totalSize is not correct when sub-directory is exists > ---------------------------------------------------------------------------------------- > > Key: HIVE-4645 > URL: https://issues.apache.org/jira/browse/HIVE-4645 > Project: Hive > Issue Type: Test > Components: Statistics > Reporter: Navis > Assignee: Navis > Priority: Trivial > Fix For: 0.12.0 > > Attachments: HIVE-4645.D11037.1.patch, HIVE-4645.D11037.2.patch, HIVE-4645.D11037.3.patch > > > The test "infer_bucket_sort_list_bucket.q" returns 4096 as totalSize but it's size of parent directory, not sum of file size. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira