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 6BBCA9EE4 for ; Wed, 8 Feb 2012 01:27:25 +0000 (UTC) Received: (qmail 13375 invoked by uid 500); 8 Feb 2012 01:27:25 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 13313 invoked by uid 500); 8 Feb 2012 01:27:24 -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 13305 invoked by uid 500); 8 Feb 2012 01:27:24 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 13302 invoked by uid 99); 8 Feb 2012 01:27:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2012 01:27:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2012 01:27:21 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 75DB81A865B for ; Wed, 8 Feb 2012 01:27:00 +0000 (UTC) Date: Wed, 8 Feb 2012 01:27:00 +0000 (UTC) From: "Navis (Commented) (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <221575828.12271.1328664420484.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2041302941.12225.1328663939242.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HIVE-2784) Integrating with MapReduce2 get NPE throwed when executing a query with a "TABLESAMPLE(x percent)" clause MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HIVE-2784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13203100#comment-13203100 ] Navis commented on HIVE-2784: ----------------------------- If you are using hadoop-CDH version, it might be the same problem described by HIVE-2778. > Integrating with MapReduce2 get NPE throwed when executing a query with a "TABLESAMPLE(x percent)" clause > --------------------------------------------------------------------------------------------------------- > > Key: HIVE-2784 > URL: https://issues.apache.org/jira/browse/HIVE-2784 > Project: Hive > Issue Type: Bug > Reporter: Zhenxiao Luo > Assignee: Carl Steinbach > > the following TestCliDriver testcases fail: > sample_islocalmode_hook > split_sample > [junit] java.lang.NullPointerException > [junit] at org.apache.hadoop.hive.ql.io.CombineHiveInputFormat.sampleSplits(CombineHiveInputFormat.java:450) > [junit] at org.apache.hadoop.hive.ql.io.CombineHiveInputFormat.getSplits(CombineHiveInputFormat.java:403) > [junit] at org.apache.hadoop.mapreduce.JobSubmitter.writeOldSplits(JobSubmitter.java:472) > [junit] at org.apache.hadoop.mapreduce.JobSubmitter.writeSplits(JobSubmitter.java:464) > [junit] at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:360) > [junit] at org.apache.hadoop.mapreduce.Job$11.run(Job.java:1215) > [junit] at org.apache.hadoop.mapreduce.Job$11.run(Job.java:1212) > [junit] at java.security.AccessController.doPrivileged(Native Method) > [junit] at javax.security.auth.Subject.doAs(Subject.java:396) > [junit] at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1157) > [junit] at org.apache.hadoop.mapreduce.Job.submit(Job.java:1212) > [junit] at org.apache.hadoop.mapred.JobClient$1.run(JobClient.java:592) > [junit] at org.apache.hadoop.mapred.JobClient$1.run(JobClient.java:587) > [junit] at java.security.AccessController.doPrivileged(Native Method) > [junit] at javax.security.auth.Subject.doAs(Subject.java:396) > [junit] at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1157) > [junit] at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:587) > [junit] at org.apache.hadoop.hive.ql.exec.ExecDriver.execute(ExecDriver.java:452) > [junit] at org.apache.hadoop.hive.ql.exec.ExecDriver.main(ExecDriver.java:710) > [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > [junit] at java.lang.reflect.Method.invoke(Method.java:597) > [junit] at org.apache.hadoop.util.RunJar.main(RunJar.java:200) > There are other qfiles which pass which use TABLESAMPLE without specifying a percent -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira