[ 
https://issues.apache.org/jira/browse/NUTCH-1205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lewis John McGibbney updated NUTCH-1205:
----------------------------------------

    Attachment: NUTCH-1205.patch

This patch is breaking by build but it is a work in progress. In short the 
patch, 
1) Upgrades all gora dependencies to 0.2-incubating
2) Upgrades all other dependencies which were also upgraded in current gora 
trunk.

The build fails as follows
{code}
compile-core:
    [javac] /home/lewis/ASF/nutchgora/build.xml:97: warning: 
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to 
false for repeatable builds
    [javac] Compiling 171 source files to 
/home/lewis/ASF/nutchgora/build/classes
    [javac] 
/home/lewis/ASF/nutchgora/src/java/org/apache/nutch/storage/StorageUtils.java:43:
 cannot find symbol
    [javac] symbol  : method createDataStore(java.lang.Class<capture#763 of ? 
extends 
org.apache.gora.store.DataStore<K,V>>,java.lang.Class<K>,java.lang.Class<V>)
    [javac] location: class org.apache.gora.store.DataStoreFactory
    [javac]     return DataStoreFactory.createDataStore(dataStoreClass,
    [javac]                            ^
    [javac] 
/home/lewis/ASF/nutchgora/src/java/org/apache/nutch/storage/StorageUtils.java:59:
 cannot find symbol
    [javac] symbol  : method createDataStore(java.lang.Class<capture#496 of ? 
extends 
org.apache.gora.store.DataStore<K,V>>,java.lang.Class<K>,java.lang.Class<V>,java.lang.String)
    [javac] location: class org.apache.gora.store.DataStoreFactory
    [javac]     return DataStoreFactory.createDataStore(dataStoreClass,
    [javac]                            ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 2 errors

BUILD FAILED

{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

        

Reply via email to