Return-Path: Delivered-To: apmail-hadoop-hive-dev-archive@minotaur.apache.org Received: (qmail 20544 invoked from network); 10 Jun 2009 06:37:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Jun 2009 06:37:18 -0000 Received: (qmail 88748 invoked by uid 500); 10 Jun 2009 06:37:30 -0000 Delivered-To: apmail-hadoop-hive-dev-archive@hadoop.apache.org Received: (qmail 88720 invoked by uid 500); 10 Jun 2009 06:37:30 -0000 Mailing-List: contact hive-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hadoop.apache.org Delivered-To: mailing list hive-dev@hadoop.apache.org Received: (qmail 88710 invoked by uid 99); 10 Jun 2009 06:37:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jun 2009 06:37:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jun 2009 06:37:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 291F6234C051 for ; Tue, 9 Jun 2009 23:37:08 -0700 (PDT) Message-ID: <24029572.1244615828167.JavaMail.jira@brutus> Date: Tue, 9 Jun 2009 23:37:08 -0700 (PDT) From: "Zheng Shao (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Reopened: (HIVE-547) NullPointerException in ExecDriver In-Reply-To: <544545689.1244354527336.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HIVE-547?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Zheng Shao reopened HIVE-547: ----------------------------- The current behavior is showing one log line per second. This may not be go= od in case the job runs a long time. > NullPointerException in ExecDriver > ---------------------------------- > > Key: HIVE-547 > URL: https://issues.apache.org/jira/browse/HIVE-547 > Project: Hadoop Hive > Issue Type: Bug > Components: Query Processor > Affects Versions: 0.4.0 > Reporter: Zheng Shao > Assignee: Zheng Shao > Fix For: 0.4.0 > > Attachments: HIVE-547.1.patch, HIVE-547.2.patch > > > We saw a job failed with the following message in hive.log. > {noformat} > 2009-06-06 22:50:55,275 ERROR exec.ExecDriver (SessionState.java:printErr= or(279)) - Ended Job =3D job_200905211352_145363 with exception 'java.lang.= NullPointerException(null)' > java.lang.NullPointerException > at org.apache.hadoop.hive.ql.exec.ExecDriver.jobProgress(ExecDriv= er.java:193) > at org.apache.hadoop.hive.ql.exec.ExecDriver.execute(ExecDriver.j= ava:395) > at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:307) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:213) > at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java= :176) > at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.jav= a:216) > at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:273) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess= orImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth= odAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.hadoop.util.RunJar.main(RunJar.java:166) > at org.apache.hadoop.mapred.JobShell.run(JobShell.java:194) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79) > at org.apache.hadoop.mapred.JobShell.main(JobShell.java:220) > {noformat} > The corresponding code is: > {code:java} > public RunningJob jobProgress(JobClient jc, RunningJob rj) throws IOExc= eption { > String lastReport =3D ""; > while (!rj.isComplete()) { > try { > Thread.sleep(1000); > } catch (InterruptedException e) { > } > rj =3D jc.getJob(rj.getJobID()); > String report =3D null; > 193=EF=BC=9A report =3D " map =3D " + Math.round(rj.mapProgress() * 100)= + "%, reduce =3D" > + Math.round(rj.reduceProgress() * 100) + "%"; > {code} --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.