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 2643D104A0 for ; Tue, 18 Mar 2014 00:49:20 +0000 (UTC) Received: (qmail 56827 invoked by uid 500); 18 Mar 2014 00:49:07 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 56316 invoked by uid 500); 18 Mar 2014 00:48:50 -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 56079 invoked by uid 500); 18 Mar 2014 00:48:45 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 55975 invoked by uid 99); 18 Mar 2014 00:48:44 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Mar 2014 00:48:44 +0000 Date: Tue, 18 Mar 2014 00:48:44 +0000 (UTC) From: "Gunther Hagleitner (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-6690) NPE in tez session state 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-6690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gunther Hagleitner updated HIVE-6690: ------------------------------------- Description: If hive.jar.directory isn't set hive will throw NPE in startup with tez: Exception in thread "main" java.lang.RuntimeException: java.lang.NullPointerException at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:344) at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:682) at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:626) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.util.RunJar.main(RunJar.java:212) Caused by: java.lang.NullPointerException at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.createHiveExecLocalResource(TezSessionState.java:303) at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:130) at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:342) ... 7 more > NPE in tez session state > ------------------------ > > Key: HIVE-6690 > URL: https://issues.apache.org/jira/browse/HIVE-6690 > Project: Hive > Issue Type: Bug > Affects Versions: 0.13.0 > Reporter: Sergey Shelukhin > Assignee: Sergey Shelukhin > Attachments: HIVE-6690.patch > > > If hive.jar.directory isn't set hive will throw NPE in startup with tez: > Exception in thread "main" java.lang.RuntimeException: java.lang.NullPointerException > at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:344) > at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:682) > at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:626) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.hadoop.util.RunJar.main(RunJar.java:212) > Caused by: java.lang.NullPointerException > at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.createHiveExecLocalResource(TezSessionState.java:303) > at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:130) > at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:342) > ... 7 more -- This message was sent by Atlassian JIRA (v6.2#6252)