Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6BEE617669 for ; Mon, 18 May 2015 18:07:00 +0000 (UTC) Received: (qmail 11578 invoked by uid 500); 18 May 2015 18:07:00 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 11555 invoked by uid 500); 18 May 2015 18:07:00 -0000 Mailing-List: contact issues-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 issues@hive.apache.org Received: (qmail 11545 invoked by uid 99); 18 May 2015 18:07:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 May 2015 18:07:00 +0000 Date: Mon, 18 May 2015 18:07:00 +0000 (UTC) From: "Jason Dere (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-10606) Divide by zero error in HybridHashTableContainer 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-10606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14548425#comment-14548425 ] Jason Dere commented on HIVE-10606: ----------------------------------- [~sushanth] would like to add to branch-1.2 > Divide by zero error in HybridHashTableContainer > ------------------------------------------------ > > Key: HIVE-10606 > URL: https://issues.apache.org/jira/browse/HIVE-10606 > Project: Hive > Issue Type: Bug > Components: Query Processor > Reporter: Jason Dere > Assignee: Jason Dere > Fix For: 1.3.0 > > Attachments: HIVE-10606.1.patch > > > Happened when keyCount for the table is 0 (hit this while trying to test some local changes). This is a very unlikely scenario, but this shouldn't happen. > {noformat} > ], TaskAttempt 3 failed, info=[Error: Failure while running task:java.lang.RuntimeException: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.ArithmeticException: / by zero > at org.apache.hadoop.hive.ql.exec.tez.TezProcessor.initializeAndRunProcessor(TezProcessor.java:171) > at org.apache.hadoop.hive.ql.exec.tez.TezProcessor.run(TezProcessor.java:137) > at org.apache.tez.runtime.LogicalIOProcessorRuntimeTask.run(LogicalIOProcessorRuntimeTask.java:324) > at org.apache.tez.runtime.task.TezTaskRunner$TaskRunnerCallable$1.run(TezTaskRunner.java:176) > at org.apache.tez.runtime.task.TezTaskRunner$TaskRunnerCallable$1.run(TezTaskRunner.java:168) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:415) > at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657) > at org.apache.tez.runtime.task.TezTaskRunner$TaskRunnerCallable.call(TezTaskRunner.java:168) > at org.apache.tez.runtime.task.TezTaskRunner$TaskRunnerCallable.call(TezTaskRunner.java:163) > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:744) > Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.ArithmeticException: / by zero > at org.apache.hadoop.hive.ql.exec.tez.HashTableLoader.load(HashTableLoader.java:184) > at org.apache.hadoop.hive.ql.exec.MapJoinOperator.loadHashTable(MapJoinOperator.java:292) > at org.apache.hadoop.hive.ql.exec.MapJoinOperator.initializeOp(MapJoinOperator.java:183) > at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:362) > at org.apache.hadoop.hive.ql.exec.tez.ReduceRecordProcessor.init(ReduceRecordProcessor.java:148) > at org.apache.hadoop.hive.ql.exec.tez.TezProcessor.initializeAndRunProcessor(TezProcessor.java:147) > ... 13 more > Caused by: java.lang.ArithmeticException: / by zero > at org.apache.hadoop.hive.ql.exec.persistence.HybridHashTableContainer.(HybridHashTableContainer.java:241) > at org.apache.hadoop.hive.ql.exec.persistence.HybridHashTableContainer.(HybridHashTableContainer.java:221) > at org.apache.hadoop.hive.ql.exec.tez.HashTableLoader.load(HashTableLoader.java:170) > ... 18 more > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)