onyx

FYI: alternative Onyx :onyx: chat is at <https://gitter.im/onyx-platform/onyx> ; log can be found at <https://clojurians-log.clojureverse.org/onyx/index.html>
rustam.gilaztdinov 2018-08-22T10:55:37.000100Z

really, really strange things happens in onyx-sql if I added to project.clj logs libs

[org.apache.logging.log4j/log4j-core "2.8.1"]
[org.apache.logging.log4j/log4j-api "2.8.1"]
[org.slf4j/slf4j-log4j12 "1.7.25" :exclusions [org.slf4j/slf4j-api]]]
Then, I have batch size = 50 and in catalog -- :sql/rows-per-segment 1000 I submit job and onyx processed 1000 record from db If I exclude logs libs, onyx process 50 records What is that? And of course I have only one batch processed, after him - NPE, in both cases

rustam.gilaztdinov 2018-08-22T10:56:34.000100Z

this is so frustrating, anybody can help me and fix that?

rustam.gilaztdinov 2018-08-22T10:57:57.000100Z

what is a difference between batch-size and rows-per-segment?

rustam.gilaztdinov 2018-08-22T11:19:21.000100Z

anyone test this plugin?

rustam.gilaztdinov 2018-08-22T11:20:47.000100Z

this is not working at all

rustam.gilaztdinov 2018-08-22T16:10:49.000100Z

@lucasbradstreet can u help ^?

2018-08-22T18:35:28.000100Z

@rustam.gilaztdinov like I said, it’s most likely a bug in the Onyx sql plugin that is triggered upon sequence realization. the logging library most likely causes the sequence to be realized in a different place, causing different behavior.

2018-08-22T18:35:44.000100Z

if you can help debugging the issue that would be great

rustam.gilaztdinov 2018-08-22T19:55:21.000100Z

@lmergen thank you! I'll post here my steps, hope we can resolved that :harold: