[
https://issues.apache.org/jira/browse/NUTCH-3202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18102244#comment-18102244
]
ASF GitHub Bot commented on NUTCH-3202:
---------------------------------------
lewismc opened a new pull request, #950:
URL: https://github.com/apache/nutch/pull/950
PR for [NUTCH-3202](https://issues.apache.org/jira/browse/NUTCH-3202)
> Use ant clean runtime to avoid stale .job jars in Jenkins smoke test
> --------------------------------------------------------------------
>
> Key: NUTCH-3202
> URL: https://issues.apache.org/jira/browse/NUTCH-3202
> Project: Nutch
> Issue Type: Bug
> Components: ci/cd, jenkins
> Affects Versions: 1.23
> Reporter: Lewis John McGibbney
> Assignee: Lewis John McGibbney
> Priority: Major
> Fix For: 1.23
>
>
> The single-node Hadoop smoke test can fail on a reused Jenkins workspace when
> multiple `*nutch*.job` files remain under `runtime/deploy/`. `bin/nutch` then
> errors (`binary operator expected`) and falls back to local mode, causing
> `ClassNotFoundException: org.apache.nutch.crawl.Injector`.
>
> Not surprisingly the fix is to run `ant clean runtime` so each build starts
> from a clean runtime.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)