hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zheng Shao (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-547) NullPointerException in ExecDriver
Date Sun, 07 Jun 2009 06:14:07 GMT

    [ https://issues.apache.org/jira/browse/HIVE-547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717009#action_12717009
] 

Zheng Shao commented on HIVE-547:
---------------------------------

The JobTracker log shows the job is completed about 8 minutes earlier, and retired 3 minutes
earlier.

{noformat}
2009-06-06 22:42:14,602 INFO org.apache.hadoop.mapred.JobInProgress: Job job_200905211352_145363
has completed successfully.
...
2009-06-06 22:47:05,429 INFO org.apache.hadoop.mapred.JobTracker: Retired job with id: 'job_200905211352_145363'
of user: 'root'
{noformat}


> 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
>
> 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:printError(279)) - Ended
Job = job_200905211352_145363 with exception 'java.lang.NullPointerException(null)'
> java.lang.NullPointerException
>         at org.apache.hadoop.hive.ql.exec.ExecDriver.jobProgress(ExecDriver.java:193)
>         at org.apache.hadoop.hive.ql.exec.ExecDriver.execute(ExecDriver.java: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.java:216)
>         at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:273)
>         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: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 IOException {
>     String lastReport = "";
>     while (!rj.isComplete()) {
>       try {
>         Thread.sleep(1000);
>       } catch (InterruptedException e) {
>       }
>       rj = jc.getJob(rj.getJobID());
>       String report = null;
> 193:  report = " map = " + Math.round(rj.mapProgress() * 100) + "%,  reduce ="
>           + Math.round(rj.reduceProgress() * 100) + "%";
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message