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 EB739200B29 for ; Thu, 30 Jun 2016 15:43:11 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id EA32F160A71; Thu, 30 Jun 2016 13:43:11 +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 4AF0A160A06 for ; Thu, 30 Jun 2016 15:43:11 +0200 (CEST) Received: (qmail 57351 invoked by uid 500); 30 Jun 2016 13:43:10 -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 57286 invoked by uid 99); 30 Jun 2016 13:43:10 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Jun 2016 13:43:10 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 47F1D2C02AD for ; Thu, 30 Jun 2016 13:43:10 +0000 (UTC) Date: Thu, 30 Jun 2016 13:43:10 +0000 (UTC) From: "Aihua Xu (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-14109) query execuction throws NPE when hive.exec.submitviachild is set to true MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 30 Jun 2016 13:43:12 -0000 [ https://issues.apache.org/jira/browse/HIVE-14109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aihua Xu updated HIVE-14109: ---------------------------- Attachment: HIVE-14109.1.patch > query execuction throws NPE when hive.exec.submitviachild is set to true > ------------------------------------------------------------------------ > > Key: HIVE-14109 > URL: https://issues.apache.org/jira/browse/HIVE-14109 > Project: Hive > Issue Type: Bug > Components: Query Processor > Affects Versions: 2.2.0 > Reporter: Aihua Xu > Assignee: Aihua Xu > Attachments: HIVE-14109.1.patch > > > If we set hive.exec.submitviachild to true and execute select count(*) from src, the following exception is thrown. > Seems queryState is not initialized when ExecDriver is called from main() in ExecDriver. > {noformat} > java.lang.NullPointerException > at org.apache.hadoop.hive.ql.exec.mr.HadoopJobExecHelper.progress(HadoopJobExecHelper.java:262) > at org.apache.hadoop.hive.ql.exec.mr.HadoopJobExecHelper.progress(HadoopJobExecHelper.java:555) > at org.apache.hadoop.hive.ql.exec.mr.ExecDriver.execute(ExecDriver.java:436) > at org.apache.hadoop.hive.ql.exec.mr.ExecDriver.main(ExecDriver.java:756) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at org.apache.hadoop.util.RunJar.run(RunJar.java:221) > at org.apache.hadoop.util.RunJar.main(RunJar.java:136) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)