Our site stats quit processing. The job was running but not processing any records. The log entries look like:
09-Oct-2017 13:35:20.316 INFO [QuartzScheduler_Worker-3] org.sakaiproject.sitestats.impl.StatsAggregateJobImpl.execute Summary: 0 events processed in 0s (no entry will be added to SST_JOB_RUN; only events associated with a session are processed)
The last event it successfully processed was event_id 2147483647 which happens to be the max value for Integer.
It turns out org.sakaiproject.sitestats.impl.StatsAggregateJobImpl is getting event_id from the resultset as an Integer:
lastProcessedEventId = rs.getInt("EVENT_ID");
lastProcessedEventId = rs.getLong("EVENT_ID");