nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Jelsma <markus.jel...@openindex.io>
Subject Cannot inject with MySQL on trunk
Date Tue, 22 Mar 2011 10:15:05 GMT
Hi,

Anyone got an idea about this error i see in the log when trying to inject an 
url? No urls are injected. I use the most recent trunk but am unsure of the 
Gora revision i'm using. Not the current because it won't compile.

java.lang.AbstractMethodError: 
com.mysql.jdbc.Connection.createBlob()Ljava/sql/Blob;
        at org.apache.gora.sql.store.SqlStore.setField(SqlStore.java:711)
        at org.apache.gora.sql.store.SqlStore.setObject(SqlStore.java:637)
        at 
org.apache.gora.sql.statement.MySqlInsertUpdateStatement.toStatement(MySqlInsertUpdateStatement.java:96)
        at org.apache.gora.sql.store.SqlStore.put(SqlStore.java:616)
        at 
org.apache.gora.mapreduce.GoraRecordWriter.write(GoraRecordWriter.java:60)
        at 
org.apache.hadoop.mapred.MapTask$NewDirectOutputCollector.write(MapTask.java:498)
        at 
org.apache.hadoop.mapreduce.TaskInputOutputContext.write(TaskInputOutputContext.java:80)
        at 
org.apache.nutch.crawl.InjectorJob$UrlMapper.map(InjectorJob.java:168)
        at 
org.apache.nutch.crawl.InjectorJob$UrlMapper.map(InjectorJob.java:70)
        at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:144)
        at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:621)
        at org.apache.hadoop.mapred.MapTask.run(MapTask.java:305)
        at 
org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:177)

Cheers,

-- 
Markus Jelsma - CTO - Openindex
http://www.linkedin.com/in/markus17
050-8536620 / 06-50258350

Mime
View raw message