Hi Feng Lu,

Thanks for your reply.
I uncommented the mongodb settings in conf/gora.properties. As far as the
other settings I only chaged the ones I mentioned before, following this
guide http://wiki.apache.org/nutch/Nutch2Tutorial

I forgot to mention, this is a fresh install of Mongo, and I've verified
its running on port 27017 as in the gora.properties.

This is whats in the hadoop.log file, basically the same that was in the
console. I was getting the same error yesterday while playing.

2015-02-04 12:03:04,824 INFO  crawl.InjectorJob - InjectorJob: starting at
2015-02-04 12:03:04
2015-02-04 12:03:04,824 INFO  crawl.InjectorJob - InjectorJob: Injecting
urlDir: ../../../seeds.txt
2015-02-04 12:03:05,439 ERROR crawl.InjectorJob - InjectorJob:
org.apache.gora.util.GoraException: java.lang.NullPointerException
at
org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.java:169)
at
org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.java:137)
at
org.apache.nutch.storage.StorageUtils.createWebStore(StorageUtils.java:78)
at org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:218)
at org.apache.nutch.crawl.InjectorJob.inject(InjectorJob.java:252)
at org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:275)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.nutch.crawl.InjectorJob.main(InjectorJob.java:284)
Caused by: java.lang.NullPointerException
at org.apache.gora.mongodb.store.MongoStore.initialize(MongoStore.java:173)
at
org.apache.gora.store.DataStoreFactory.initializeDataStore(DataStoreFactory.java:104)
at
org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.java:163)
... 7 more


On Wed, Feb 4, 2015 at 4:47 PM, feng lu <[email protected]> wrote:

> Do you uncomment the MongoDB settings in conf/gora.properties and change
> the correct settings with your environment.
>
> yes, Nutch 2.3 use restlet 2.2.3 version. You can use "ant runtime" command
> to generate crawling tools. I try with Nutch 2.3 and never meet any build
> issue. Can you show the log in more detail.
>
> <dependency org="org.restlet.jse" name="org.restlet" rev="2.2.3"
> conf="*->default" />
>
> Thanks.
>
> --
> Don't Grow Old, Grow Up... :-)
>

Reply via email to