[ https://issues.apache.org/jira/browse/NUTCH-1078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lewis John McGibbney updated NUTCH-1078: ---------------------------------------- Attachment: NUTCH-1078-branch-1.4-20110911-v3.patch patch attachment compiles and passes all tests successfully. During the creation of the patch I noticed some irregular behaviour with the org.apache.nutch.parse.feed.FeedParser class. The org.apache.nutch.indexer.anchor.AnchorIndexingFilter import broke the build... As you can see I've removed this particular import from the class as per {code} // APACHE imports import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.io.Text; import org.apache.hadoop.util.StringUtils; // import org.apache.nutch.indexer.anchor.AnchorIndexingFilter; removed as per NUTCH-1078 import org.apache.nutch.metadata.Feed; import org.apache.nutch.metadata.Metadata; import org.apache.nutch.net.URLFilters; import org.apache.nutch.net.URLNormalizers; import org.apache.nutch.net.protocols.Response; {code} This is ready to be tested. Thanks > Upgrade all instances of commons logging to slf4j (with log4j backend) > ---------------------------------------------------------------------- > > Key: NUTCH-1078 > URL: https://issues.apache.org/jira/browse/NUTCH-1078 > Project: Nutch > Issue Type: Improvement > Affects Versions: 1.4, 2.0 > Reporter: Lewis John McGibbney > Assignee: Lewis John McGibbney > Priority: Minor > Fix For: 1.4, 2.0 > > Attachments: NUTCH-1078-branch-1.4-20110816.patch, > NUTCH-1078-branch-1.4-20110824-v2.patch, > NUTCH-1078-branch-1.4-20110911-v3.patch > > > Whilst working on another issue, I noticed that some classes still import and > use commons logging for example HttpBase.java > {code} > import java.util.*; > // Commons Logging imports > import org.apache.commons.logging.Log; > import org.apache.commons.logging.LogFactory; > // Nutch imports > import org.apache.nutch.crawl.CrawlDatum; > {code} > At this stage I am unsure how many (if any others) still import and reply > upon commons logging, however they should be upgraded to slf4j for branch-1.4. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira