Hello guys,

I'm trying to use Nutch 2.0 release in a standalone node for testing (no
Hadoop for now) and using a MySQL as a storage backend. As I have no
experience with HBase, I decided to use MySQL for now to understand what
each command does, as those have changed from the 1.X branch. I've followed
the nutch2 tutorial and the gora documentation for configuring the
installation. I can Inject, generate and fetch, but when I use the host
commands (hostinject,updatehostdb and readhostdb) I get the same NULL
pointer exception:

HostInjectorJob: org.apache.gora.util.GoraException:
java.lang.NullPointerException
at
org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.java:167)
 at
org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.java:135)
at
org.apache.nutch.storage.StorageUtils.createWebStore(StorageUtils.java:69)
 at org.apache.nutch.host.HostInjectorJob.inject(HostInjectorJob.java:146)
at org.apache.nutch.host.HostInjectorJob.run(HostInjectorJob.java:160)
 at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.nutch.host.HostInjectorJob.main(HostInjectorJob.java:174)
Caused by: java.lang.NullPointerException
at org.apache.gora.sql.store.SqlStore.addColumn(SqlStore.java:790)
at org.apache.gora.sql.store.SqlStore.createSqlTable(SqlStore.java:802)
 at org.apache.gora.sql.store.SqlStore.initialize(SqlStore.java:165)
at
org.apache.gora.store.DataStoreFactory.initializeDataStore(DataStoreFactory.java:102)
 at
org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.java:161)
... 6 more

The only modification I did to the schema was making the 'text' field
bigger, from 32000 VARCHARs to 60000, as I was getting errors when using
the parsing tool. Any tips/ideas/pointers?

Thanks for your time,

Joan

Reply via email to