Skip to content

Integrate Nutch 1.22 upstream changes - #59

Merged
sebastian-nagel merged 32 commits into
ccfrom
cc-nutch-1.22
Aug 2, 2026
Merged

sebastian-nagel merged 32 commits into
ccfrom
cc-nutch-1.22

Conversation

@sebastian-nagel

Copy link
Copy Markdown

Integrate Nutch upstream changes until release 1.22 into Common Crawl's Nutch fork.

Important changes:

  • Upgrade to Hadoop 3.4.2 and further to 3.4.3
  • Upgrade to Tika 3.2.3
  • More dependency upgrades

sebastian-nagel and others added 30 commits March 28, 2025 09:19
Upgrade to shaded Tika packages 3.1.0.0 provided by Tim Allison.
The shaded packages are required to avoid version conflicts when
running in distributed mode caused by incompatible versions of
the commons-io jar shipped with Hadoop and required by Tika,
cf. NUTCH-2959.
Add "text/javascript" as MIME type supported by "parse-js".
Note: fixes parse-js unit tests. Tika 3.1.0 identifies
the Javascript test document as "text/javascript" instead of
"application/javascript".
Robots.txt parser: use URL objects in newly introduced
methods to avoid the unnecessary parsing of URLs.
Update URLUtil test to adapt to a change in the public suffix list
Upgrade Nutch core dependencies, but keep RAT on 0.16 to prohibit a build failure caused by new RAT report format, see NUTCH-3138.
- upgrade to OkHttp 5.3.2
- enable support for zstd content-encoding
In setFetchSchedule, make sure 'refTime' is not in the past.

Add unit test to reproduce the situation described in Jira.

Unrelated fix in FetcherThread
Convert the fraction of the delta to a ratio of max interval, to avoid
next fetchTime in the past.

Add unit tests for different scenarios.
Add TestCrawlDbStatesExtended (was TODOTestCrawlDbStates)
- adapt unit tests to changes introduced in
  crawler-commons/crawler-commons#478
- test for example given in Javadoc of getDomainSuffix
…chedule-refetch

[NUTCH-1564] AdaptiveFetchSchedule sync_delta forces refetch of unmodified pages
NUTCH-3110 Upgrade to Tika 3.2.3
- update current year in API docs
- update version number
- update changes / release notes
Integrate upstream changes until the Nutch release 1.22 into
Common Crawl's Nutch fork.

Important changes:
- Upgrade to Hadoop 3.4.2
- Upgrade to Tika 3.2.3
- Further dependency upgrades
@sebastian-nagel
sebastian-nagel marked this pull request as ready for review July 18, 2026 11:30
@sebastian-nagel

Copy link
Copy Markdown
Author

This PR was tested on a Bigtop 3.6.0 (RC0) cluster, running Hadoop 3.4.3.

@sebastian-nagel
sebastian-nagel merged commit 1ef2327 into cc Aug 2, 2026
1 check passed
@sebastian-nagel
sebastian-nagel deleted the cc-nutch-1.22 branch August 2, 2026 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants