Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4084B200BA1 for ; Mon, 17 Oct 2016 19:39:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3D922160AF0; Mon, 17 Oct 2016 17:39:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8C399160AE2 for ; Mon, 17 Oct 2016 19:38:59 +0200 (CEST) Received: (qmail 59090 invoked by uid 500); 17 Oct 2016 17:38:58 -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 59076 invoked by uid 99); 17 Oct 2016 17:38:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Oct 2016 17:38:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 77BE12C4C72 for ; Mon, 17 Oct 2016 17:38:58 +0000 (UTC) Date: Mon, 17 Oct 2016 17:38:58 +0000 (UTC) From: "Hitesh Shah (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Moved] (HIVE-14987) CombineHiveInputFormat with Tez fails to initiate vertex if table is empty MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 17 Oct 2016 17:39:00 -0000 [ https://issues.apache.org/jira/browse/HIVE-14987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hitesh Shah moved TEZ-3474 to HIVE-14987: ----------------------------------------- Affects Version/s: (was: 0.7.1) Key: HIVE-14987 (was: TEZ-3474) Project: Hive (was: Apache Tez) > CombineHiveInputFormat with Tez fails to initiate vertex if table is empty > -------------------------------------------------------------------------- > > Key: HIVE-14987 > URL: https://issues.apache.org/jira/browse/HIVE-14987 > Project: Hive > Issue Type: Bug > Reporter: Yi Zhang > > Sometimes user have developed custom inputformat that extends from CombineHiveInputFormat due to difficulty of extending from HiveInputFormat directly, for example to filter out old data files. > in this use case, vertex fails to get initialized: > SELECT city.cid > FROM > (select city_id as cid, > row_number() over(partition by timezone order by population) rnum > from cities) city > JOIN > (select datestr, id from yizhang.emptyparts where datestr >= date_sub(current_date(),30)) emp > on city.cid = emp.id > ; > -------------------------------------------------------------------------------- > VERTICES STATUS TOTAL COMPLETED RUNNING PENDING FAILED KILLED > -------------------------------------------------------------------------------- > Map 1 KILLED -1 0 0 -1 0 0 > Map 3 FAILED -1 0 0 -1 0 0 > Reducer 2 KILLED 1 0 0 1 0 0 > -------------------------------------------------------------------------------- > VERTICES: 00/03 [>>--------------------------] 0% ELAPSED TIME: 0.34 s > -------------------------------------------------------------------------------- > Status: Failed > Vertex failed, vertexName=Map 3, vertexId=vertex_1476217616538_398108_1_01, diagnostics=[Vertex vertex_1476217616538_398108_1_01 [Map 3] killed/failed due to:ROOT_INPUT_INIT_FAILURE, Vertex Input: emp initializer failed, vertex=vertex_1476217616538_398108_1_01 [Map 3], java.lang.IllegalArgumentException > at java.util.concurrent.ThreadPoolExecutor.(ThreadPoolExecutor.java:1307) > at java.util.concurrent.ThreadPoolExecutor.(ThreadPoolExecutor.java:1195) > at java.util.concurrent.Executors.newFixedThreadPool(Executors.java:89) > at org.apache.hadoop.hive.ql.io.CombineHiveInputFormat.getSplits(CombineHiveInputFormat.java:519) > at org.apache.tez.mapreduce.hadoop.MRInputHelpers.generateOldSplits(MRInputHelpers.java:447) > at org.apache.tez.mapreduce.hadoop.MRInputHelpers.generateInputSplitsToMem(MRInputHelpers.java:299) > at org.apache.tez.mapreduce.common.MRInputAMSplitGenerator.initialize(MRInputAMSplitGenerator.java:121) > at org.apache.tez.dag.app.dag.RootInputInitializerManager$InputInitializerCallable$1.run(RootInputInitializerManager.java:264) > at org.apache.tez.dag.app.dag.RootInputInitializerManager$InputInitializerCallable$1.run(RootInputInitializerManager.java:258) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:422) > at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1671) > at org.apache.tez.dag.app.dag.RootInputInitializerManager$InputInitializerCallable.call(RootInputInitializerManager.java:258) > at org.apache.tez.dag.app.dag.RootInputInitializerManager$InputInitializerCallable.call(RootInputInitializerManager.java:245) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > at java.lang.Thread.run(Thread.java:745) > ] -- This message was sent by Atlassian JIRA (v6.3.4#6332)