I worked on this for a while, i was able to fix FeedIndexingFilter but FeedParser also needs some more time and i will work on this some other time. FeedParser might need to be mostly rewritten for 2.x.
On Thu, Feb 28, 2013 at 3:58 PM, kiran chitturi <[email protected]>wrote: > This is a problem with the feed plugin. It is not yet ported to 2.x. > > The FeedIndexingFilter Class extends the IndexingFilter whose interface > and method changed from 1.x to 2.x > > I fixed a similar one in Parse-metaTags which extends the ParseFilter > interface. > > [Nutch-874] was opened related to these issues but we do not know still > what plugins need to be ported due to the API changes. > > > https://issues.apache.org/jira/browse/NUTCH-874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > > > > On Thu, Feb 28, 2013 at 3:26 PM, Lewis John Mcgibbney < > [email protected]> wrote: > >> This shouldn't be happening but we are aware (the Jira instance reflects >> this) that there are some existing compatibility issues with Nutch 2.x >> HEAD. >> IIRC Kiran had a patch integrated which dealt with some of these issues. >> What I have to ask is what JDK are you using? I use 1.6.0_25 (I really >> need >> to upgrade) on my laptop and we run the Apache Nutch nightly builds for >> both 1.x trunk and 2.x branch on the latest 1.7 version of Java. >> Unless I have broken my code whilst writing some patches, my code compiles >> flawlessly locally and as a project we do not have regular compiler issues >> with our development nightly builds. >> >> On Wed, Feb 27, 2013 at 10:15 PM, Anand Bhagwat <[email protected] >> >wrote: >> >> > Hi, >> > I want to use FeedParser plugin which comes as part of Nutch 2.1 >> > distribution. When I am trying to build it its giving compilation >> errors. >> > I think its using some classes from Nutch 1.6 which are not available. >> Any >> > suggestions as to how I can resolve this issue? >> > >> > *[javac] >> > >> > >> /home/adminibm/Documents/workspace-sts-3.1.0.RELEASE/nutch2/src/plugin/feed/src/java/org/apache/nutch/indexer/feed/FeedIndexingFilter.java:28: >> > cannot find symbol >> > [javac] symbol : class CrawlDatum >> > [javac] location: package org.apache.nutch.crawl >> > [javac] import org.apache.nutch.crawl.CrawlDatum; >> > [javac] ^ >> > [javac] >> > >> > >> /home/adminibm/Documents/workspace-sts-3.1.0.RELEASE/nutch2/src/plugin/feed/src/java/org/apache/nutch/indexer/feed/FeedIndexingFilter.java:29: >> > cannot find symbol >> > [javac] symbol : class Inlinks >> > [javac] location: package org.apache.nutch.crawl >> > [javac] import org.apache.nutch.crawl.Inlinks; >> > [javac] ^ >> > [javac] >> > >> > >> /home/adminibm/Documents/workspace-sts-3.1.0.RELEASE/nutch2/src/plugin/feed/src/java/org/apache/nutch/indexer/feed/FeedIndexingFilter.java:36: >> > cannot find symbol >> > [javac] symbol : class ParseData >> > [javac] location: package org.apache.nutch.parse >> > [javac] import org.apache.nutch.parse.ParseData; >> > [javac] ^* >> > >> > Thanks, >> > Anand. >> > >> >> >> >> -- >> *Lewis* >> > > > > -- > Kiran Chitturi > -- Kiran Chitturi

