[
https://issues.apache.org/jira/browse/NUTCH-1205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13157946#comment-13157946
]
Lewis John McGibbney commented on NUTCH-1205:
---------------------------------------------
Patch aside... even if I _only_ change ivy/ivy.xml to
{code}
<dependency org="org.apache.gora" name="gora-core" rev="latest.integration"
conf="*->compile"/>
<dependency org="org.apache.gora" name="gora-sql" rev="latest.integration"
conf="*->compile"/>
{code}
the above errors still occur. Is anyone familiar with o.a.n.s.StorageUtils and
I can attempt to walk my way through this one with them? My main target here is
to get Nutchgora working with Gora 0.2-incubating.
>From reading the code, would it not make more sense to implement the
>getDataStore method rather than the createDataDtore method, this is the point
>of abstracting this stuff away from Nutch? If this is the case then there is
>some editing of methods in StorageUtils class. Something like this
{code}
@SuppressWarnings("unchecked")
public static <K, V extends Persistent> DataStore<K, V>
createDataStore(Configuration conf,
Class<K> keyClass, Class<V> persistentClass) throws
ClassNotFoundException, GoraException {
Class<? extends DataStore<K, V>> dataStoreClass =
(Class<? extends DataStore<K, V>>) getDataStoreClass(conf);
return DataStoreFactory.*getDataStore*(dataStoreClass, <<<<<
keyClass, persistentClass, *remaining parameters* );
}
{code}
> Upgrade gora modules to 0.2-SNAPSHOT
> ------------------------------------
>
> Key: NUTCH-1205
> URL: https://issues.apache.org/jira/browse/NUTCH-1205
> Project: Nutch
> Issue Type: Improvement
> Components: storage
> Affects Versions: nutchgora
> Reporter: Lewis John McGibbney
> Assignee: Lewis John McGibbney
> Priority: Minor
> Fix For: nutchgora
>
> Attachments: NUTCH-1205.patch
>
>
> Although gora trunk is unstable, work is ongoing to get this fixed. For the
> time being, I think Nutchgora should use gora trunk as this will identify
> more vulnerabilities. I'll get the trivial patch submitted shortly.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira