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] [Resolved] (HAMA-712) PartitioningRunner should works for multiple input files
Date Sat, 20 Apr 2013 13:47:15 GMT

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

Edward J. Yoon resolved HAMA-712.
---------------------------------

    Resolution: Fixed

Fixed.
                
> PartitioningRunner should works for multiple input files
> --------------------------------------------------------
>
>                 Key: HAMA-712
>                 URL: https://issues.apache.org/jira/browse/HAMA-712
>             Project: Hama
>          Issue Type: Bug
>            Reporter: Edward J. Yoon
>            Assignee: Suraj Menon
>         Attachments: HAMA-712.patch
>
>
> {code}
> attempt_201301141112_0005_000006_0: java.lang.NullPointerException
> attempt_201301141112_0005_000006_0:     at org.apache.hama.bsp.PartitioningRunner.bsp(PartitioningRunner.java:181)
> attempt_201301141112_0005_000006_0:     at org.apache.hama.bsp.BSPTask.runBSP(BSPTask.java:166)
> attempt_201301141112_0005_000006_0:     at org.apache.hama.bsp.BSPTask.run(BSPTask.java:143)
> attempt_201301141112_0005_000006_0:     at org.apache.hama.bsp.GroomServer$BSPPeerChild.main(GroomServer.java:1266)
> 13/01/14 11:14:43 INFO bsp.BSPJobClient: Job failed.
> 13/01/14 11:14:43 ERROR bsp.BSPJobClient: Error partitioning the input path.
> java.io.IOException: Runtime partition failed for the job.
>         at org.apache.hama.bsp.BSPJobClient.partition(BSPJobClient.java:459)
>         at org.apache.hama.bsp.BSPJobClient.submitJobInternal(BSPJobClient.java:328)
>         at org.apache.hama.bsp.BSPJobClient.submitJob(BSPJobClient.java:293)
>         at org.apache.hama.bsp.BSPJob.submit(BSPJob.java:218)
>         at org.apache.hama.graph.GraphJob.submit(GraphJob.java:172)
>         at org.apache.hama.bsp.BSPJob.waitForCompletion(BSPJob.java:225)
>         at org.apache.hama.examples.PageRank.main(PageRank.java:171)
>         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:43)
>         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.hama.util.RunJar.main(RunJar.java:147)
> [oracle@bda01 hama-0.7.0-SNAPSHOT]$
> [oracle@bda01 hama-0.7.0-SNAPSHOT]$ bin/hama jar hama-examples-0.7.0-SNAPSHOT.jar pagerank
/tmp/edward /tmp/pagerank-result
> 13/01/14 11:15:25 INFO bsp.FileInputFormat: Total input paths to process : 20
> java.lang.NumberFormatException: null
>         at java.lang.Integer.parseInt(Integer.java:417)
>         at java.lang.Integer.parseInt(Integer.java:499)
>         at org.apache.hama.bsp.BSPJobClient.partition(BSPJobClient.java:417)
>         at org.apache.hama.bsp.BSPJobClient.submitJobInternal(BSPJobClient.java:328)
>         at org.apache.hama.bsp.BSPJobClient.submitJob(BSPJobClient.java:293)
>         at org.apache.hama.bsp.BSPJob.submit(BSPJob.java:218)
>         at org.apache.hama.graph.GraphJob.submit(GraphJob.java:172)
>         at org.apache.hama.bsp.BSPJob.waitForCompletion(BSPJob.java:225)
>         at org.apache.hama.examples.PageRank.main(PageRank.java:171)
>         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:43)
>         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.hama.util.RunJar.main(RunJar.java:147)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message