rzo1 opened a new pull request, #2337:
URL: https://github.com/apache/stormcrawler/pull/2337

   Fixes #2336.
   
   `StatusMetricsBolt` keeps its counts in a `ConcurrentHashMap` (since #2242) 
and reported that map directly. Storm doesn't register `ConcurrentHashMap` with 
Kryo, so with more than one worker and a V1 metrics consumer, the 
`status_metrics` executor died on `Class is not registered: 
java.util.concurrent.ConcurrentHashMap`.
   
   The gauge now returns a `HashMap` copy of the counts, as in 3.5.1. The map 
they are kept in stays concurrent, since the counts are updated from the async 
OpenSearch responses.
   
   `StatusMetricsBoltTest` serializes the counts with Kryo as Storm sets it up 
from its defaults, and checks that a `ConcurrentHashMap` is rejected.
   
   Found while testing 4.0.0 RC1 on Storm 3.2.0 with 4 workers.


-- 
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]

Reply via email to