You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by Markus Jelsma <ma...@openindex.io> on 2011/03/22 11:15:05 UTC

Cannot inject with MySQL on trunk

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