[
https://issues.apache.org/jira/browse/NUTCH-2375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16160975#comment-16160975
]
ASF GitHub Bot commented on NUTCH-2375:
---------------------------------------
sebastian-nagel commented on a change in pull request #221: NUTCH-2375
Upgrading nutch to use org.apache.hadoop.mapreduce
URL: https://github.com/apache/nutch/pull/221#discussion_r138013644
##########
File path: src/java/org/apache/nutch/hostdb/ReadHostDb.java
##########
@@ -205,7 +205,7 @@ private void readHostDb(Path hostDb, Path output, boolean
dumpHomepages, boolean
private void getHostDbRecord(Path hostDb, String host) throws Exception {
Configuration conf = getConf();
- SequenceFile.Reader[] readers = SequenceFileOutputFormat.getReaders(conf,
hostDb);
+ MapFile.Reader[] readers = MapFileOutputFormat.getReaders(hostDb, conf);
Review comment:
If HostDb isn't changed to be stored as MapFile must still use a
SequenceFile reader, see comments in CrawlDbReader.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Upgrade the code base from org.apache.hadoop.mapred to
> org.apache.hadoop.mapreduce
> ----------------------------------------------------------------------------------
>
> Key: NUTCH-2375
> URL: https://issues.apache.org/jira/browse/NUTCH-2375
> Project: Nutch
> Issue Type: Improvement
> Components: deployment
> Reporter: Omkar Reddy
>
> Nutch is still using the deprecated org.apache.hadoop.mapred dependency which
> has been deprecated. It need to be updated to org.apache.hadoop.mapreduce
> dependency.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)