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 CFCD64C26 for ; Tue, 5 Jul 2011 18:27:40 +0000 (UTC) Received: (qmail 2953 invoked by uid 500); 5 Jul 2011 18:27:39 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 2467 invoked by uid 500); 5 Jul 2011 18:27:38 -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 2162 invoked by uid 500); 5 Jul 2011 18:27:38 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 2041 invoked by uid 99); 5 Jul 2011 18:27:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2011 18:27:38 +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; Tue, 05 Jul 2011 18:27:37 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id CED3344B0A for ; Tue, 5 Jul 2011 18:27:16 +0000 (UTC) Date: Tue, 5 Jul 2011 18:27:16 +0000 (UTC) From: "Vaibhav Aggarwal (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <1196131141.1348.1309890436844.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <514241552.67374.1307138627359.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Assigned] (HIVE-2195) Hive queries hangs with first stage job created with zero mappers and 1 reducer, 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-2195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vaibhav Aggarwal reassigned HIVE-2195: -------------------------------------- Assignee: Vaibhav Aggarwal > Hive queries hangs with first stage job created with zero mappers and 1 reducer, > ---------------------------------------------------------------------------------- > > Key: HIVE-2195 > URL: https://issues.apache.org/jira/browse/HIVE-2195 > Project: Hive > Issue Type: Bug > Affects Versions: 0.7.0 > Reporter: vitthal (Suhas) Gogate > Assignee: Vaibhav Aggarwal > > This happens when query aggregate data w/ predicate selecting bunch of non-existing data partitions. > e,g, Table XXX has five columns, A (int), B (int), C(string), date (int) and hour (int), where date/hour are the partition columns, > select cast((100*date+hour) as BIGINT) as datehour, sum(A) as sumA, > sum(B) as sumB from XXX where date>=20110925 and C='test' group by date, hour order by datehour > In the above query, make a note that selected date partition range does not exists in hive table i.e. no date partitions for date>=20110925 > The above query hangs with the first map reduce job it creates, with zero mappers and 1 reducer. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira