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 29F4D102A2 for ; Thu, 12 Sep 2013 13:16:00 +0000 (UTC) Received: (qmail 87559 invoked by uid 500); 12 Sep 2013 13:15:54 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 86621 invoked by uid 500); 12 Sep 2013 13:15:53 -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 86145 invoked by uid 500); 12 Sep 2013 13:15:52 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 86137 invoked by uid 99); 12 Sep 2013 13:15:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Sep 2013 13:15:52 +0000 Date: Thu, 12 Sep 2013 13:15:52 +0000 (UTC) From: "Navis (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-5279) Kryo cannot instantiate GenericUDAFEvaluator in GroupByDesc 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-5279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13765406#comment-13765406 ] Navis commented on HIVE-5279: ----------------------------- I considered that. But the immediate question is, was it valid to use UDAFEvaluator without default constructor before? I should check that, in tomorrow. > Kryo cannot instantiate GenericUDAFEvaluator in GroupByDesc > ----------------------------------------------------------- > > Key: HIVE-5279 > URL: https://issues.apache.org/jira/browse/HIVE-5279 > Project: Hive > Issue Type: Bug > Components: Query Processor > Reporter: Navis > Priority: Critical > > We didn't forced GenericUDAFEvaluator to be Serializable. I don't know how previous serialization mechanism solved this but, kryo complaints that it's not Serializable and fails the query. > The log below is the example, > {noformat} > java.lang.RuntimeException: com.esotericsoftware.kryo.KryoException: Class cannot be created (missing no-arg constructor): org.apache.hadoop.hive.serde2.objectinspector.StandardListObjectInspector > Serialization trace: > inputOI (org.apache.hadoop.hive.ql.udf.generic.GenericUDAFGroupOn$VersionedFloatGroupOnEval) > genericUDAFEvaluator (org.apache.hadoop.hive.ql.plan.AggregationDesc) > aggregators (org.apache.hadoop.hive.ql.plan.GroupByDesc) > conf (org.apache.hadoop.hive.ql.exec.GroupByOperator) > childOperators (org.apache.hadoop.hive.ql.exec.SelectOperator) > childOperators (org.apache.hadoop.hive.ql.exec.TableScanOperator) > aliasToWork (org.apache.hadoop.hive.ql.plan.MapWork) > at org.apache.hadoop.hive.ql.exec.Utilities.getBaseWork(Utilities.java:312) > at org.apache.hadoop.hive.ql.exec.Utilities.getMapWork(Utilities.java:261) > at org.apache.hadoop.hive.ql.io.HiveInputFormat.init(HiveInputFormat.java:256) > at org.apache.hadoop.hive.ql.io.HiveInputFormat.pushProjectionsAndFilters(HiveInputFormat.java:383) > at org.apache.h > {noformat} > If this cannot be fixed in somehow, some UDAFs should be modified to be run on hive-0.13.0 -- 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