[
https://issues.apache.org/jira/browse/NUTCH-2569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16447336#comment-16447336
]
ASF GitHub Bot commented on NUTCH-2569:
---------------------------------------
sebastian-nagel opened a new pull request #322: NUTCH-2569
ClassNotFoundException when running in (pseudo-)distributed mode
URL: https://github.com/apache/nutch/pull/322
- set job jar by calling setJarByClass
- fix compiler warnings in changed classes
----------------------------------------------------------------
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]
> ClassNotFoundException when running in (pseudo-)distributed mode
> ----------------------------------------------------------------
>
> Key: NUTCH-2569
> URL: https://issues.apache.org/jira/browse/NUTCH-2569
> Project: Nutch
> Issue Type: Bug
> Affects Versions: 1.15
> Reporter: Sebastian Nagel
> Priority: Blocker
> Fix For: 1.15
>
>
> The CrawlDb / updatedb job fails in pseudo-distributed mode with a
> ClassNotFoundException:
> {noformat}
> 18/04/22 19:24:49 INFO mapreduce.Job: Task Id :
> attempt_1524395182329_0018_m_000000_0, Status : FAILED
> Error: java.lang.RuntimeException: java.lang.ClassNotFoundException: Class
> org.apache.nutch.crawl.CrawlDbFilter not found
> at
> org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2369)
> at
> org.apache.hadoop.mapreduce.task.JobContextImpl.getMapperClass(JobContextImpl.java:186)
> at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:745)
> at org.apache.hadoop.mapred.MapTask.run(MapTask.java:341)
> at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:175)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:422)
> at
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1836)
> at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:169)
> Caused by: java.lang.ClassNotFoundException: Class
> org.apache.nutch.crawl.CrawlDbFilter not found
> at
> org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:2273)
> at
> org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2367)
> {noformat}
> Must define the job jar by calling {{job.setJarByClass(...)}}. This affects
> also other jobs.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)