[
https://issues.apache.org/jira/browse/NUTCH-2375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16060656#comment-16060656
]
ASF GitHub Bot commented on NUTCH-2375:
---------------------------------------
Omkar20895 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-310624270
@lewismc
>>>`I have used int complete = job.waitForCompletion(true)?0:1; in multiple
files and I did not get any error in those files and I am unable to understand
why I am getting this here`
This exception handling needs to be done in every file that used the above
line, I am working on it and will push a commit as soon as I am done. I am
making following changes.
Converting `int complete = job.waitForCompletion(true)?0:1;` to
```
try {
int complete = job.waitForCompletion(true)?0:1;
} catch (InterruptedException e) {
LOG.info("Exception: "+e);
throw e;
} catch (ClassNotFoundException e) {
LOG.info("Exception: "+e);
throw e;
}
```
Thanks.
----------------------------------------------------------------
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)