The example can be executed by "jar" command.

> trying to run SerializePrinting job through eclipse but i get a
> failure in the groom server

But, if you want to run it through eclipse, you should set the jar
file. there's a setJar() method.

Thanks :-)

On Tue, Jan 11, 2011 at 7:16 PM, Mat Kelcey <[email protected]> wrote:
> hi guys,
>
> i've got a local build of hama up and running
>
> version is...
> commit e9447f30a31080a4b27c240e287a87338c14bd46
> Author: Edward J. Yoon <[email protected]>
> Date:   Fri Dec 17 05:30:38 2010 +0000
>    Add execution time calculator to Pi job
>    git-svn-id:
> https://svn.apache.org/repos/asf/incubator/hama/tr...@1050275
> 13f79535-47bb-0310-9956-ffa450edef68
>
> built with
> $ mvn clean install -DskipTests=true
>
> after some config about JAVA_HOME
>
> trying to run SerializePrinting job through eclipse but i get a
> failure in the groom server
>
> 2011-01-11 20:45:52,493 INFO org.apache.hama.bsp.GroomServer: Starting
> groom: groomd_ubishop_61000
> 2011-01-11 20:59:02,238 WARN org.apache.hama.bsp.GroomServer: Error
> initializing attempt_201101112045_0001_m_000000_0:
> java.io.FileNotFoundException: File
> file:/tmp/hadoop-mat/bsp/system/submit_f9c0kq/job.jar does not exist.
>        at 
> org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:361)
>        at 
> org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:245)
>        at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:192)
>        at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:142)
>        at 
> org.apache.hadoop.fs.LocalFileSystem.copyToLocalFile(LocalFileSystem.java:61)
>        at 
> org.apache.hadoop.fs.FileSystem.copyToLocalFile(FileSystem.java:1192)
>        at org.apache.hama.bsp.GroomServer.localizeJob(GroomServer.java:319)
>        at org.apache.hama.bsp.GroomServer.startNewTask(GroomServer.java:287)
>        at org.apache.hama.bsp.GroomServer.offerService(GroomServer.java:238)
>        at org.apache.hama.bsp.GroomServer.run(GroomServer.java:452)
>        at java.lang.Thread.run(Thread.java:636)
>
> looking at the references to job.jar in the code i can't see where
> it's even being made?
>
> any pointers?
>
> mat
>



-- 
Best Regards, Edward J. Yoon
http://blog.udanax.org
http://twitter.com/eddieyoon

Reply via email to