Gora-based tests need to have their own config files
-----------------------------------------------------
Key: NUTCH-896
URL: https://issues.apache.org/jira/browse/NUTCH-896
Project: Nutch
Issue Type: Bug
Affects Versions: 2.0
Reporter: Julien Nioche
Assignee: Julien Nioche
Fix For: 2.0
The tests extending AbstractNutchTest (Injector, Generator, Fetcher) have
hard-coded properties for GORA. It would be better to be able to rely on a file
gora.properties used only for the tests, just as we do with the nutch-*.xml
config files (see CrawlTestUtil). This way we wouldn't use the configs set in
the main /conf file as they could be specific to a given GORA backend e.g.
Mysql vs hsqldb. This would also help running the tests with a non-default GORA
backend.
We need to modify GORA and make the method DataStoreFactory.setProperties
public.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.