hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HAMA-53) NullPointerException on mapreduce
Date Mon, 08 Sep 2008 11:40:44 GMT

     [ https://issues.apache.org/jira/browse/HAMA-53?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Edward J. Yoon updated HAMA-53:
-------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I just committed this.

> NullPointerException on mapreduce
> ---------------------------------
>
>                 Key: HAMA-53
>                 URL: https://issues.apache.org/jira/browse/HAMA-53
>             Project: Hama
>          Issue Type: Bug
>          Components: mapred 
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>             Fix For: 0.1.0
>
>         Attachments: HAMA-53.patch
>
>
> When I run a addition example on the Hadoop cluster, I recieved an NullPointerException
as below : 
> 08/09/08 16:35:34 INFO mapred.JobClient: Running job: job_200809081623_0004
> 08/09/08 16:35:35 INFO mapred.JobClient:  map 0% reduce 0%
> 08/09/08 16:35:39 INFO mapred.JobClient: Task Id : task_200809081623_0004_m_000000_0,
Status : FAILED
> java.lang.NullPointerException
>         at org.apache.hama.algebra.AdditionMap.map(AdditionMap.java:38)
>         at org.apache.hama.algebra.AdditionMap.map(AdditionMap.java:31)
>         at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:47)
>         at org.apache.hadoop.mapred.MapTask.run(MapTask.java:219)
>         at org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:2124)
> 08/09/08 16:35:44 INFO mapred.JobClient: Task Id : task_200809081623_0004_m_000000_1,
Status : FAILED
> java.lang.NullPointerException
>         at org.apache.hama.algebra.AdditionMap.map(AdditionMap.java:38)
>         at org.apache.hama.algebra.AdditionMap.map(AdditionMap.java:31)
>         at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:47)
>         at org.apache.hadoop.mapred.MapTask.run(MapTask.java:219)
>         at org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:2124)
> 08/09/08 16:35:49 INFO mapred.JobClient: Task Id : task_200809081623_0004_m_000000_2,
Status : FAILED
> java.lang.NullPointerException
>         at org.apache.hama.algebra.AdditionMap.map(AdditionMap.java:38)
>         at org.apache.hama.algebra.AdditionMap.map(AdditionMap.java:31)
>         at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:47)
>         at org.apache.hadoop.mapred.MapTask.run(MapTask.java:219)
>         at org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:2124)
> 08/09/08 16:35:53 INFO mapred.JobClient:  map 100% reduce 100%
> java.io.IOException: Job failed!
>         at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1062)
>         at org.apache.hama.DenseMatrix.add(DenseMatrix.java:146)
>         at org.apache.hama.examples.MatrixAddition.main(MatrixAddition.java:63)
>         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.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:68)
>         at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:139)
>         at org.apache.hama.examples.ExampleDriver.main(ExampleDriver.java:29)
>         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:155)
>         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)

-- 
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