[
https://issues.apache.org/jira/browse/NUTCH-2375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16072949#comment-16072949
]
ASF GitHub Bot commented on NUTCH-2375:
---------------------------------------
lewismc commented on issue #188: NUTCH-2375 Upgrade the code base from
org.apache.hadoop.mapred to org.apache.hadoop.mapreduce
URL: https://github.com/apache/nutch/pull/188#issuecomment-312743093
@Omkar20895
regarding ```CrawlDbUpdateTestDriver.java:95: warning: [deprecation]
setConfiguration(Configuration) in TestDriver has been deprecated```
please see
[javadoc](https://mrunit.apache.org/documentation/javadocs/1.1.0/index.html?org/apache/hadoop/mrunit/TestDriver.html):
Deprecated. Use getConfiguration() to set configuration items as opposed to
overriding the entire configuration object as it's used internally. Also make
sure to update the Class and Method-level API documentation to ```{@link
CrawlDbReducer#reduce(Text, Iterator, Context)}``` this is present in several
Classes and you have not updated it yet.
regarding ```CrawlDbUpdateUtil.java:58: error: cannot find symbol``` this is
due to removal of ```configure``` method for Reducer.java. Please see
[Javadoc](https://hadoop.apache.org/docs/current/api/org/apache/hadoop/mapreduce/Reducer.html).
You may have to work with ```setup``` instead.
Fix both of the above, which once addressed will bring the compilation back
to stable I think. Also check out the Javadoc for
[TaskInputOutputContext](https://hadoop.apache.org/docs/current/api/index.html?org/apache/hadoop/mapreduce/TaskInputOutputContext.html)
and ensure that CrawlDbUpdateUtil.DummyContext overrides the appropriate
methods with the appropriate paramaters.
----------------------------------------------------------------
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)