You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by Lewis John Mcgibbney <le...@gmail.com> on 2012/12/04 17:28:45 UTC

Re: Build failed in Jenkins: Nutch-nutchgora #420

Hi All,

On Sat, Dec 1, 2012 at 4:16 AM, Apache Jenkins Server
<je...@builds.apache.org> wrote:
> See <https://builds.apache.org/job/Nutch-nutchgora/420/>

>     [junit] Running org.apache.nutch.crawl.TestGenerator
>     [junit] Tests run: 4, Failures: 0, Errors: 1, Time elapsed: 63.594 sec
>     [junit] Test org.apache.nutch.crawl.TestGenerator FAILED

> BUILD FAILED
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-nutchgora/2.x/build.xml:423: Tests failed!
>
> Total time: 6 minutes 18 seconds
> Build step 'Invoke Ant' marked build as failure
> Publishing Javadoc

Below are the relevant parts from the test report...

2012-12-01 04:12:20,948 WARN  mapred.FileOutputCommitter
(FileOutputCommitter.java:cleanupJob(100)) - Output path is null in
cleanup
2012-12-01 04:12:20,948 WARN  mapred.LocalJobRunner
(LocalJobRunner.java:run(298)) - job_local_0003
java.lang.ClassCastException: org.apache.gora.mapreduce.GoraInputSplit
cannot be cast to org.apache.hadoop.mapred.InputSplit
	at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:412)
	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:372)
	at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:212)
2012-12-01 04:12:21,941 INFO  mapred.JobClient
(JobClient.java:monitorAndPrintJob(1301)) -  map 0% reduce 0%
2012-12-01 04:12:21,941 INFO  mapred.JobClient
(JobClient.java:monitorAndPrintJob(1356)) - Job complete:
job_local_0003

Testcase: testGenerateHostLimit took 8.548 sec
	Caused an ERROR
job failed: name=generate: 1354335140-1018707298, jobid=job_local_0003
java.lang.RuntimeException: job failed: name=generate:
1354335140-1018707298, jobid=job_local_0003
	at org.apache.nutch.util.NutchJob.waitForCompletion(NutchJob.java:54)
	at org.apache.nutch.crawl.GeneratorJob.run(GeneratorJob.java:191)
	at org.apache.nutch.crawl.GeneratorJob.generate(GeneratorJob.java:213)
	at org.apache.nutch.crawl.TestGenerator.generateFetchlist(TestGenerator.java:258)
	at org.apache.nutch.crawl.TestGenerator.testGenerateHostLimit(TestGenerator.java:138)


I am not sure where in Nutch 2.x the GoraInputSplit is being
incorrectly cast, however I'll try to find it. Anyone have any ideas?

Best
Lewis

-- 
Lewis