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 4FF304A13 for ; Fri, 20 May 2011 00:11:28 +0000 (UTC) Received: (qmail 91593 invoked by uid 500); 20 May 2011 00:11:28 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 91558 invoked by uid 500); 20 May 2011 00:11:28 -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 91550 invoked by uid 500); 20 May 2011 00:11:28 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 91547 invoked by uid 99); 20 May 2011 00:11:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 May 2011 00:11:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 May 2011 00:11:26 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 58E27D232B for ; Fri, 20 May 2011 00:10:47 +0000 (UTC) Date: Fri, 20 May 2011 00:10:47 +0000 (UTC) From: "Patrick Hunt (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <1037972335.29056.1305850247360.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1703154132.28959.1305847787342.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HIVE-2174) unit tests fail consistently when run according to instructions on "hive how to contribute" page. 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-2174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13036592#comment-13036592 ] Patrick Hunt commented on HIVE-2174: ------------------------------------ Thanks Ning, I updated the following page, perhaps you can review: http://wiki.apache.org/hadoop/Hive/HowToContribute Any suggestions where else to look for instructions that should be fixed up? I grepped the latest codebase but didn't see anything obvious. > unit tests fail consistently when run according to instructions on "hive how to contribute" page. > ------------------------------------------------------------------------------------------------- > > Key: HIVE-2174 > URL: https://issues.apache.org/jira/browse/HIVE-2174 > Project: Hive > Issue Type: Bug > Components: Build Infrastructure, Testing Infrastructure > Affects Versions: 0.7.1, 0.8.0 > Reporter: Patrick Hunt > Priority: Critical > > The unit tests fail consistently when run according to the doc on hive how to contribute page. Specifically if you: > 1) checkout the code afresh (or 'git clean -xdf' - basically be sure to start with a _very_ clean slate) > 2) ant clean test tar -logfile ant.log > the tests will fail (you can run just bucketmapjoin1.q instead of all the tests, it exhibits this behavior). However if you instead do the following > 2) ant clean package test tar -logfile ant.log > the tests pass (notice the addition to package to the targets). > I've tried this on 5 different systems (mix of linux 32/64 bit) and the result is consistent. > Running > ant clean test -Dtestcase=TestCliDriver -Dqfile=bucketmapjoin1.q > I see the following reason for failure > {quote} > [junit] 743c743 > [junit] < numRows 0 > [junit] --- > [junit] > numRows 464 > [junit] 773c773 > [junit] < numRows 0 > [junit] --- > [junit] > numRows 464 > [junit] 793c793 > [junit] < numRows 0 > [junit] --- > [junit] > numRows 464 > {quote} > which leads me to believe it's a metastore issue (statistics?) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira