Lewis John McGibbney created NUTCH-3202:
-------------------------------------------

             Summary: 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
             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)

Reply via email to