The GitHub Actions job "Java CI with Maven" on 
stormcrawler.git/fix-2099-metrics-header-parse has succeeded.
Run started by GitHub user rzo1 (triggered by rzo1).

Head commit for run:
e5aa0174c95811b79c9d63f3822ddcd2d4d9ff63 / Richard Zowalla <[email protected]>
#2099 Fetcher bolts: skip a metrics.* value which is not a number

The protocols copy every response header into the response metadata, so
a header named metrics.something lands in the namespace the bolts read
their protocol timings from. Long.parseLong was called on the value
unguarded, so a non-numeric one threw inside the fetch block and a
response which had arrived intact was recorded as FETCH_ERROR, with a
bare NumberFormatException as the reason.

The parsing moves into a helper shared by both bolts, which skips a
value it cannot parse and logs it. Metric scopes can still be created
from a response header, which is the rest of #2099.

Report URL: https://github.com/apache/stormcrawler/actions/runs/35388237999

With regards,
GitHub Actions via GitBox

Reply via email to