hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chl501" <chl...@nuk.edu.tw>
Subject Eclipse test failure for HAMA-376
Date Thu, 14 Apr 2011 07:48:03 GMT
It is the same issue that the jar file is missing. If it is required to ask use explicitly
setJar, is there any place that we can reference to the build version? For instance, the BSPJob.setJar()
requires to set jar path e.g. /path/to/eclipse/hama-1090935/build/hama-0.3.0-test.jar where
build version 0.3.0 is changed according to ant's property ${version}. Otherwise, we may need
to parse ant file for explicitly adding this info. 

11/04/14 14:50:13 WARN bsp.BSPJobClient: No job jar file set.  User classes may not be found.
See BSPJob#setJar(String) or check Your jar file.
11/04/14 14:50:13 INFO bsp.GroomServer: jobConf.getJar():null
11/04/14 14:50:13 WARN bsp.GroomServer: Error initializing attempt_201104141450_0001_000001_0:
java.lang.IllegalArgumentException: Can not create a Path from a null string
        at org.apache.hadoop.fs.Path.checkPathArg(Path.java:78)
        at org.apache.hadoop.fs.Path.<init>(Path.java:90)
        at org.apache.hama.bsp.GroomServer.localizeJob(GroomServer.java:519)
        at org.apache.hama.bsp.GroomServer.startNewTask(GroomServer.java:451)
        at org.apache.hama.bsp.GroomServer.access$100(GroomServer.java:70)
        at org.apache.hama.bsp.GroomServer$DispatchTasksHandler.handle(GroomServer.java:144)
        at org.apache.hama.bsp.GroomServer$Instructor.run(GroomServer.java:192)


>Basically, your miniBSPCluster doesn't work with eclipse JUnit test and maven build as
below:

>11/04/12 20:49:49 INFO bsp.BSPMaster: Cleaning up the system directory
>11/04/12 20:49:49 INFO bsp.BSPMaster: file:/tmp/hadoop/bsp/system
>11/04/12 20:49:49 INFO bsp.BSPMaster: java.lang.NullPointerException
>11/04/12 20:49:49 INFO ipc.Server: IPC Server Responder: starting
>11/04/12 20:49:49 INFO ipc.Server: IPC Server listener on 40000: starting
>11/04/12 20:49:49 INFO ipc.Server: IPC Server handler 0 on 40000: starting
>11/04/12 20:49:49 INFO bsp.BSPMaster: Starting RUNNING
>11/04/12 20:49:50 INFO hama.MiniBSPCluster: Waitin for GroomServer up.
>11/04/12 20:49:50 INFO bsp.GroomServer: groom start
>11/04/12 20:49:51 INFO hama.MiniBSPCluster: Waitin for GroomServer up.
>11/04/12 20:49:52 INFO hama.MiniBSPCluster: Waitin for GroomServer up.
>11/04/12 20:49:53 INFO hama.MiniBSPCluster: Waitin for GroomServer up.
>11/04/12 20:49:54 INFO hama.MiniBSPCluster: Waitin for GroomServer up.
>11/04/12 20:49:55 INFO hama.MiniBSPCluster: Waitin for GroomServer up.
>11/04/12 20:49:56 INFO hama.MiniBSPCluster: Waitin for GroomServer up.
>^CDestroying 1 processes
>Destroying process..
>Destroyed 1 processes
>Can you find out the reason why?





ChiaHung Lin
Department of Information Management
National University of Kaohsiung
Taiwan

Mime
View raw message