secor icon indicating copy to clipboard operation
secor copied to clipboard

April 31st?

Open damaex17 opened this issue 10 years ago • 2 comments

We are inserting historical data and end up with strange upload folders in s3:

./secor.log.1:2016-03-09 08:52:50,091 pool-1-thread-249 INFO OutputStream for key 'GamePlayerDataEvents/dt=2015-04-31/hr=12/1_2_00000000000018209248.gz' closed. Now beginning upload

timestamp in message.timestamp.name field: 1429275228 1429275368

damaex17 avatar Mar 09 '16 14:03 damaex17

@damaex17 which version of secor are you using? This sound like a typical concurrency issue and in an older version there were static SimpleDateFormat instances in the TimestampedMessageParser. In te current master branch those are no longer static with a comment about not being thread-safe ;-)

If these parsers are used across different threads this might not be enough, but I recommend upgrading secor and checking whether the problem still persists.

scravy avatar Mar 09 '16 17:03 scravy

Confirming the issue is fixed with the latest version.

damaex17 avatar Mar 22 '16 12:03 damaex17