rzo1 opened a new pull request, #2344: URL: https://github.com/apache/stormcrawler/pull/2344
Fixes #2343. `CollectionMetric` (`spout_query_time_msec` of the querying spouts) reported its measurements as a `LinkedList`. Storm doesn't register `LinkedList` with Kryo, so with more than one worker and a V1 metrics consumer the spout executor died on `Class is not registered: java.util.LinkedList` and took its worker down. `getValueAndReset()` now returns an `ArrayList`, which Storm registers. Same kind of problem as #2336. `CollectionMetricTest` serializes the measurements with Kryo as Storm sets it up from its defaults, and checks that a `LinkedList` is rejected. Found while testing 4.0.0 RC2 with an OpenSearch topology on 4 workers. Not a regression, 3.5.1 has the same code. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
