Return-Path: X-Original-To: apmail-hive-user-archive@www.apache.org Delivered-To: apmail-hive-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5894FEFAB for ; Wed, 13 Feb 2013 15:14:18 +0000 (UTC) Received: (qmail 8480 invoked by uid 500); 13 Feb 2013 15:14:16 -0000 Delivered-To: apmail-hive-user-archive@hive.apache.org Received: (qmail 7954 invoked by uid 500); 13 Feb 2013 15:14:15 -0000 Mailing-List: contact user-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hive.apache.org Delivered-To: mailing list user@hive.apache.org Received: (qmail 7571 invoked by uid 99); 13 Feb 2013 15:14:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Feb 2013 15:14:13 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mcl.hive@touk.pl designates 212.180.179.38 as permitted sender) Received: from [212.180.179.38] (HELO touk.pl) (212.180.179.38) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Feb 2013 15:14:07 +0000 Message-ID: <511BADA7.2080608@touk.pl> Date: Wed, 13 Feb 2013 16:13:43 +0100 From: Marcin Cylke User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: user@hive.apache.org Subject: hive-0.10 and nullpointerexception Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi I'm experiencing the following problem when running a simple query under hive-0.10. I'm using the stock release package with CDH-4.1 The query need to execute map-reduce job for this to happen. For me something along this one is sufficient: select count(*) from sample_table; The error I get looks like this and is taken from TaskTracker logs. INFO org.apache.hadoop.mapred.TaskStatus: task-diagnostic-info for task attempt_201302111523_0285_m_000000_0 : java.lang.RuntimeException: java.lang.NullPointerException at org.apache.hadoop.hive.ql.exec.Utilities.getMapRedWork(Utilities.java:226) at org.apache.hadoop.hive.ql.io.HiveInputFormat.init(HiveInputFormat.java:255) at org.apache.hadoop.hive.ql.io.HiveInputFormat.pushProjectionsAndFilters(HiveInputFormat.java:381) at org.apache.hadoop.hive.ql.io.HiveInputFormat.pushProjectionsAndFilters(HiveInputFormat.java:374) at org.apache.hadoop.hive.ql.io.CombineHiveInputFormat.getRecordReader(CombineHiveInputFormat.java:536) at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:373) at org.apache.hadoop.mapred.MapTask.run(MapTask.java:327) at org.apache.hadoop.mapred.Child$4.run(Child.java:268) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:396) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1332) at org.apache.hadoop.mapred.Child.main(Child.java:262) Caused by: java.lang.NullPointerException at org.apache.hadoop.hive.ql.exec.Utilities.getMapRedWork(Utilities.java:211) ... 11 more Is this a known issue? Should I report a Jira? Regards Marcin