Hi Davide, hi all,

Thanks for preparing the RC!

-1 (binding), because of a regression in StatusMetricsBolt (details
below). Everything else looks good to me.

Checked according to the ASF release policy:

- sha512 checksums match for the tar.gz and the zip
- GPG signatures are good, made with
  9BED7925096462ED5999DB737C4253D1144A3F88, which is in KEYS and in the
  committer keys on people.apache.org
- The tag stormcrawler-4.0.0 points to
  05964ee0837c0192c9831176a721991204f3a3c1. The source release matches
  the tag except for the dot-files and the generated DEPENDENCIES; the
  tar.gz and the zip are identical.
- LICENSE and NOTICE are present and correct. No compiled code in the
  source release, only test fixtures and documentation images.
- Builds from source with Java 25 and Maven 3.10
  (mvn clean verify -Prat). All tests pass, including the
  Testcontainers-based ones for OpenSearch, Solr, SQL and AWS. RAT
  passes.
- The staged Maven artifacts have valid signatures and checksums and
  contain LICENSE and NOTICE.
- Category X: mysql-connector-j is only a provided dependency.

Tested in practice:

- A WARC crawl (from the archetype) on a Docker-based Storm 3.2.0
  cluster with URLFrontier, using 1,000 Tranco seeds for 15 minutes. It
  fetched about 14.3k pages and wrote 7k responses from 797 hosts, in
  line with my earlier snapshot runs. No problems.
- One of our internal crawlers (OpenSearch, Tika 4 for PDFs, 4 workers)
  on a Docker-based Storm 3.2.0 cluster with OpenSearch 3.9.0.
  Following the migration guide (the stormcrawler-opensearch-java
  merge, the AppendingTransformers for the Tika index files) was
  enough; the guide was very helpful.

The reason for my -1: StatusMetricsBolt now reports its counts as a
ConcurrentHashMap (it was a HashMap in 3.5.1; the change came with the
move of the opensearch-java implementation, #2242). Storm 3 has no Kryo
registration for that class. So as soon as a topology runs on more than
one worker with a V1 metrics consumer (as the OpenSearch archetype
configures it), the status_metrics executor fails with

  KryoException: Class is not registered: java.util.concurrent.ConcurrentHashMap

and takes its worker down. Single-worker topologies are not affected.
The workaround is to add java.util.concurrent.ConcurrentHashMap to
topology.kryo.register, but users will hit this right after upgrading a
distributed OpenSearch crawl. The fix is a one-liner (return a HashMap
copy of the counts). I'll open an issue and a PR for it.

Minor things, not blocking, for a follow-up:

- DISCLAIMER-BINARIES.txt is outdated. It lists
  tripadvisor.sitemap.xml.gz and stormcrawler.jpg/.pdf, which were
  renamed, and misses the ssl/*.p12 keystores and
  test_recursive_embedded.docx.
- The archetype's template .gitignore (archetype-resources/.gitignore)
  is not in the source release, so projects generated from an archetype
  built from the source release don't get one.

Happy to check an RC2 as soon as it's up.

Thanks,
Richard

On 2026/11/13 16:35:59 Davide Polato via dev wrote:
> Hi folks,
> 
> I have posted a first release candidate for the Apache StormCrawler 4.0.0
> release and it is ready for testing.
> 
> This candidate is staged in dist/dev. Uploading it to ATR failed, I will
> report the issue to the ATR team asap.
> 
> StormCrawler 4.0.0 is the first release on Apache Storm 3 and requires Java
> 25. It removes the Selenium module, the Apache HttpClient protocol and
> CloudSearch support, moves parsing to Tika 4 and tightens several fetching
> defaults. The migration guide lists what changes for existing crawlers:
> https://github.com/apache/stormcrawler/blob/stormcrawler-4.0.0/docs/src/main/asciidoc/migrating.adoc
> 
> Thank you to everyone who contributed to this release, including all of our
> users and the people who submitted bug reports,
> contributed code or documentation enhancements.
> 
> The release was made using the Apache StormCrawler release process,
> documented here:
> https://github.com/apache/stormcrawler/blob/main/RELEASING.md
> 
> Source:
> 
> https://dist.apache.org/repos/dist/dev/stormcrawler/stormcrawler-4.0.0-rc1
> 
> Tag:
> 
> https://github.com/apache/stormcrawler/releases/tag/stormcrawler-4.0.0
> 
> Commit Hash:
> 
> 05964ee0837c0192c9831176a721991204f3a3c1
> 
> Maven Repo:
> 
> https://repository.apache.org/content/repositories/orgapachestormcrawler-1039
> 
> <repositories>
> <repository>
> <id>stormcrawler-4.0.0-rc1</id>
> <name>Testing StormCrawler 4.0.0 release candidate</name>
> <url>
> https://repository.apache.org/content/repositories/orgapachestormcrawler-1039
> </url>
> </repository>
> </repositories>
> 
> Preview of website:
> 
> https://stormcrawler.staged.apache.org/download/index.html
> 
> Release notes:
> 
> https://github.com/apache/stormcrawler/releases/tag/stormcrawler-4.0.0
> 
> Reminder: The up-2-date KEYS file for signature verification can be
> found here: https://downloads.apache.org/stormcrawler/KEYS
> 
> Please vote on releasing these packages as Apache StormCrawler 4.0.0
> The vote is open for at least the next 72 hours.
> 
> Only votes from the StormCrawler PMC are binding, but everyone is welcome
> to check the release candidate and vote.
> The vote passes if at least three binding +1 votes are cast.
> 
> Please VOTE
> 
> [+1] go ship it
> [+0] meh, don't care
> [-1] stop, there is a ${showstopper}
> 
> Thanks!
> 
> Davide
> 

Reply via email to